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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.