Freigeben über


ITextEmbeddingGenerationService Interface

Definition

Represents a generator of text embeddings of type float.

public interface ITextEmbeddingGenerationService : Microsoft.SemanticKernel.Embeddings.IEmbeddingGenerationService<string,float>
type ITextEmbeddingGenerationService = interface
    interface IEmbeddingGenerationService<string, single>
    interface IAIService
Public Interface ITextEmbeddingGenerationService
Implements IEmbeddingGenerationService(Of String, Single)
Derived
Implements

Properties

Attributes

Gets the AI service attributes.

(Inherited from IAIService)

Methods

GenerateEmbeddingsAsync(IList<TValue>, Kernel, CancellationToken)

Generates an embedding from the given data.

(Inherited from IEmbeddingGenerationService<TValue,TEmbedding>)

Extension Methods

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

Generates an embedding from the given value.

GetApiVersion(IAIService)

Gets the API version from service's Attributes

GetEndpoint(IAIService)

Gets the endpoint from service's Attributes.

GetModelId(IAIService)

Gets the model identifier from service's Attributes.

Applies to