IEmbeddingGenerationService
Last updated
Last updated
The offers a unified interface to embedding generation endpoints. It is used by all Wisej.AI components and tools that need to convert text chunks into vectors. Typically, it works in conjunction with the IEmbeddingStorageService
.
The DefaultEmbeddingGenerationService
implementation, as registered by Wisej.AI, utilizes the OpenAI endpoint. It accesses the in ApiKeys.json
or the corresponding environment variable and employs the "text-embedding-3-small" model (1,536 dimensions) for generating embeddings.
See for more information on how to change the default model and provider.
The default implementation of the interface is provided by the class. This class employs the as its standard endpoint for embedding generation. In addition to the DefaultEmbeddingGeneration service, Wisej.AI also offers the implementation.
For further details and to access the source code of the built-in implementations, please refer to the page.