AzureOpenAITextEmbeddingGenerationService 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.

Azure OpenAI text embedding service.

C#
public sealed class AzureOpenAITextEmbeddingGenerationService : Microsoft.SemanticKernel.Embeddings.IEmbeddingGenerationService<string,float>, Microsoft.SemanticKernel.Embeddings.ITextEmbeddingGenerationService
Inheritance
AzureOpenAITextEmbeddingGenerationService
Implements

Constructors

Properties

Attributes

Gets the AI service attributes.

Methods

GenerateEmbeddingsAsync(IList<String>, Kernel, CancellationToken)

Generates an embedding from the given data.

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

Proizvod Verzije
Semantic Kernel Dotnet Latest