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
AzureAISearchIndexingServiceSettingsThe 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
EmbeddedContentThe EmbeddedContent containind the embeddings to index.
indexName
stringThe name of the index.