IChromaClient Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |