Table of Contents

Class AzureAISearchIndexingService

Namespace
FoundationaLLM.SemanticKernel.Core.Services.Indexing
Assembly
FoundationaLLM.SemanticKernel.Core.dll

Provides vector embedding indexing based on Azure AI Search.

public class AzureAISearchIndexingService : IIndexingService
Inheritance
AzureAISearchIndexingService
Implements
Inherited Members
Extension Methods

Constructors

AzureAISearchIndexingService(AzureAISearchIndexingServiceSettings, ILogger<AzureAISearchIndexingService>)

Creates a new AzureAISearchIndexingService instance.

public AzureAISearchIndexingService(AzureAISearchIndexingServiceSettings settings, ILogger<AzureAISearchIndexingService> logger)

Parameters

settings AzureAISearchIndexingServiceSettings

The AzureAISearchIndexingServiceSettings providing configuration settings.

logger ILogger<AzureAISearchIndexingService>

The ILogger used for logging.

Methods

IndexEmbeddingsAsync(EmbeddedContent, string)

Adds to a specified index the list of embeddings associated with a content.

public Task<List<string>> IndexEmbeddingsAsync(EmbeddedContent embeddedContent, string indexName)

Parameters

embeddedContent EmbeddedContent

The EmbeddedContent containind the embeddings to index.

indexName string

The name of the index.

Returns

Task<List<string>>