ChromaLibArgs: {
collectionMetadata?: CollectionMetadata;
collectionName?: string;
filter?: object;
numDimensions?: number;
url?: string;
} | {
collectionMetadata?: CollectionMetadata;
collectionName?: string;
filter?: object;
index?: ChromaClientT;
numDimensions?: number;
}
Defines the arguments that can be passed to the
Chromaclass constructor. It can either contain aurlfor the Chroma database, the number of dimensions for the vectors (numDimensions), acollectionNamefor the collection to be used in the database, and afilterobject; or it can contain anindexwhich is an instance ofChromaClientT, along with thenumDimensions,collectionName, andfilter.