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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.