IEmbeddingGenerationService
Wisej.AI.Services.IEmbeddingGenerationService
Last updated
Wisej.AI.Services.IEmbeddingGenerationService
Last updated
Namespace: Wisej.AI.Services
Assembly: Wisej.AI (3.5.0.0)
Represents a service capable of generating embeddings from provided text chunks.
: Gets or sets the endpoint configuration for the embedding generation service.
: Gets or sets the maximum number of text chunks that can be sent as an array to the provider.
: Gets or sets the dimension of the embedding vectors.
Asynchronously generates an embedding from the specified array of text chunks.
chunks
An array of strings representing the text chunks to be embedded. The array can be empty.
This method processes the supplied text chunks and returns an embedding that captures the semantic information contained within the text. Usage example:
Note that the quality and characteristics of the generated embedding depend on the implementation details of the embedding service.
Represents a service for generating embeddings using the Hugging Face API.
Returns: . A task representing the asynchronous operation, with a result of type .
Represents a service that provides functionality to generate embeddings for given text inputs using a