ChromaLibArgs: {
collectionMetadata?: CollectionMetadata;
collectionName?: string;
filter?: object;
numDimensions?: number;
url?: string;
} | {
collectionMetadata?: CollectionMetadata;
collectionName?: string;
filter?: object;
index?: ChromaClientT;
numDimensions?: number;
}
Type declaration
Optional
collectionMetadata?: CollectionMetadata
Optional
collectionName?: string
Optional
filter?: object
Optional
numDimensions?: number
Optional
url?: string
Type declaration
Optional
collectionMetadata?: CollectionMetadata
Optional
collectionName?: string
Optional
filter?: object
Optional
index?: ChromaClientT
Optional
numDimensions?: number
Defines the arguments that can be passed to the
Chroma
class constructor. It can either contain aurl
for the Chroma database, the number of dimensions for the vectors (numDimensions
), acollectionName
for the collection to be used in the database, and afilter
object; or it can contain anindex
which is an instance ofChromaClientT
, along with thenumDimensions
,collectionName
, andfilter
.