Freigeben über


AzureAISearchServiceCollectionExtensions Class

Definition

Extension methods to register Azure AI Search IVectorStore instances on an IServiceCollection.

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

Methods

AddAzureAISearchVectorStore(IServiceCollection, AzureAISearchVectorStoreOptions, String)

Register an Azure AI Search IVectorStore with the specified service ID and where SearchIndexClient is retrieved from the dependency injection container.

AddAzureAISearchVectorStore(IServiceCollection, Uri, AzureKeyCredential, AzureAISearchVectorStoreOptions, String)

Register an Azure AI Search IVectorStore with the provided Uri and AzureKeyCredential and the specified service ID.

AddAzureAISearchVectorStore(IServiceCollection, Uri, TokenCredential, AzureAISearchVectorStoreOptions, String)

Register an Azure AI Search IVectorStore with the provided Uri and TokenCredential and the specified service ID.

Applies to