EmbeddingGeneratorExtensions 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 a collection of static methods for extending IEmbeddingGenerator<TInput,TEmbedding> instances.
public ref class EmbeddingGeneratorExtensions abstract sealed
public static class EmbeddingGeneratorExtensions
type EmbeddingGeneratorExtensions = class
Public Module EmbeddingGeneratorExtensions
- Inheritance
-
EmbeddingGeneratorExtensions
Methods
GenerateAndZipAsync<TInput,TEmbedding>(IEmbeddingGenerator<TInput,TEmbedding>, IEnumerable<TInput>, EmbeddingGenerationOptions, CancellationToken) |
Generates embeddings for each of the supplied |
GenerateEmbeddingAsync<TInput,TEmbedding>(IEmbeddingGenerator<TInput,TEmbedding>, TInput, EmbeddingGenerationOptions, CancellationToken) |
Generates an embedding from the specified |
GenerateEmbeddingVectorAsync<TInput,TEmbedding>(IEmbeddingGenerator<TInput, Embedding<TEmbedding>>, TInput, EmbeddingGenerationOptions, CancellationToken) |
Generates an embedding vector from the specified |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.