Partager via


AzureAISearchMemoryStore Constructors

Definition

Overloads

AzureAISearchMemoryStore(SearchIndexClient)

Create a new instance of memory storage using Azure AI Search.

AzureAISearchMemoryStore(String, TokenCredential)

Create a new instance of memory storage using Azure AI Search.

AzureAISearchMemoryStore(String, String)

Create a new instance of memory storage using Azure AI Search.

AzureAISearchMemoryStore(SearchIndexClient)

Create a new instance of memory storage using Azure AI Search.

public AzureAISearchMemoryStore (Azure.Search.Documents.Indexes.SearchIndexClient searchIndexClient);
new Microsoft.SemanticKernel.Connectors.AzureAISearch.AzureAISearchMemoryStore : Azure.Search.Documents.Indexes.SearchIndexClient -> Microsoft.SemanticKernel.Connectors.AzureAISearch.AzureAISearchMemoryStore
Public Sub New (searchIndexClient As SearchIndexClient)

Parameters

searchIndexClient
SearchIndexClient

Azure AI Search client that can be used to manage indexes on a Search service.

Applies to

AzureAISearchMemoryStore(String, TokenCredential)

Create a new instance of memory storage using Azure AI Search.

public AzureAISearchMemoryStore (string endpoint, Azure.Core.TokenCredential credentials);
new Microsoft.SemanticKernel.Connectors.AzureAISearch.AzureAISearchMemoryStore : string * Azure.Core.TokenCredential -> Microsoft.SemanticKernel.Connectors.AzureAISearch.AzureAISearchMemoryStore
Public Sub New (endpoint As String, credentials As TokenCredential)

Parameters

endpoint
String

Azure AI Search URI, e.g. "https://contoso.search.windows.net"

credentials
TokenCredential

Azure service

Applies to

AzureAISearchMemoryStore(String, String)

Create a new instance of memory storage using Azure AI Search.

public AzureAISearchMemoryStore (string endpoint, string apiKey);
new Microsoft.SemanticKernel.Connectors.AzureAISearch.AzureAISearchMemoryStore : string * string -> Microsoft.SemanticKernel.Connectors.AzureAISearch.AzureAISearchMemoryStore
Public Sub New (endpoint As String, apiKey As String)

Parameters

endpoint
String

Azure AI Search URI, e.g. "https://contoso.search.windows.net"

apiKey
String

API Key

Applies to