Type alias ChromaLibArgs

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 Chroma class constructor. It can either contain a url for the Chroma database, the number of dimensions for the vectors (numDimensions), a collectionName for the collection to be used in the database, and a filter object; or it can contain an index which is an instance of ChromaClientT, along with the numDimensions, collectionName, and filter.

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

Generated using TypeDoc