Partager via


IChromaClient Interface

Definition

Interface for client to make requests to Chroma API.

public interface IChromaClient
type IChromaClient = interface
Public Interface IChromaClient
Derived

Methods

CreateCollectionAsync(String, CancellationToken)

Creates Chroma collection.

DeleteCollectionAsync(String, CancellationToken)

Removes collection by name.

DeleteEmbeddingsAsync(String, String[], CancellationToken)

Removes embeddings from specified collection.

GetCollectionAsync(String, CancellationToken)

Returns collection model instance by name.

GetEmbeddingsAsync(String, String[], String[], CancellationToken)

Returns embeddings from specified collection.

ListCollectionsAsync(CancellationToken)

Returns all collection names.

QueryEmbeddingsAsync(String, ReadOnlyMemory<Single>[], Int32, String[], CancellationToken)

Searches nearest embeddings by distance in specified collection.

UpsertEmbeddingsAsync(String, String[], ReadOnlyMemory<Single>[], Object[], CancellationToken)

Upserts embedding to specified collection.

Applies to