EmbeddingGeneratorBuilderServiceCollectionExtensions Class
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.
Provides extension methods for registering IEmbeddingGenerator<TInput,TEmbedding> with a IServiceCollection.
public ref class EmbeddingGeneratorBuilderServiceCollectionExtensions abstract sealed
public static class EmbeddingGeneratorBuilderServiceCollectionExtensions
type EmbeddingGeneratorBuilderServiceCollectionExtensions = class
Public Module EmbeddingGeneratorBuilderServiceCollectionExtensions
- Inheritance
-
EmbeddingGeneratorBuilderServiceCollectionExtensions
Methods
AddEmbeddingGenerator<TInput,TEmbedding>(IServiceCollection, Func<IServiceProvider,IEmbeddingGenerator<TInput,TEmbedding>>) |
Registers a singleton embedding generator in the IServiceCollection. |
AddEmbeddingGenerator<TInput,TEmbedding>(IServiceCollection, IEmbeddingGenerator<TInput,TEmbedding>) |
Registers a singleton embedding generator in the IServiceCollection. |
AddKeyedEmbeddingGenerator<TInput,TEmbedding>(IServiceCollection, Object, Func<IServiceProvider,IEmbeddingGenerator<TInput,TEmbedding>>) |
Registers a keyed singleton embedding generator in the IServiceCollection. |
AddKeyedEmbeddingGenerator<TInput,TEmbedding>(IServiceCollection, Object, IEmbeddingGenerator<TInput,TEmbedding>) |
Registers a keyed singleton embedding generator in the IServiceCollection. |