mirror of
https://github.com/placeholder-soft/chroma.git
synced 2026-01-12 17:02:54 +08:00
Fix incorrect types in QueryResponse (#661)
## Description of changes - Improvements & Bug fixes - Fix incorrect types for `embeddings` and `distances` in `QueryResponse` - closes: #660 ## Test plan Tests ran and passed ## Documentation Changes None Co-authored-by: russell-pollari <pollarir@mgail.com>
This commit is contained in:
@@ -61,10 +61,10 @@ export type GetResponse = {
|
||||
|
||||
export type QueryResponse = {
|
||||
ids: IDs[];
|
||||
embeddings: null | Embeddings[][];
|
||||
embeddings: null | Embeddings[];
|
||||
documents: (null | Document)[][];
|
||||
metadatas: (null | Metadata)[][];
|
||||
distances: null | number[][][];
|
||||
distances: null | number[][];
|
||||
}
|
||||
|
||||
export type AddResponse = {
|
||||
|
||||
Reference in New Issue
Block a user