Freigeben über


EmbeddingGenerationExtensions Class

Definition

Provides a collection of static methods for operating on IEmbeddingGenerationService<TValue,TEmbedding> objects.

public static class EmbeddingGenerationExtensions
type EmbeddingGenerationExtensions = class
Public Module EmbeddingGenerationExtensions
Inheritance
EmbeddingGenerationExtensions

Methods

GenerateEmbeddingAsync<TValue,TEmbedding>(IEmbeddingGenerationService<TValue,TEmbedding>, TValue, Kernel, CancellationToken)

Generates an embedding from the given value.

Applies to