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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.