Ask a question to get started
Enter to send•Shift+Enter new line
AzureCognitiveSearchRetriever()
AzureAISearchRetriever
Name of Azure AI Search service
Name of Index inside Azure AI Search service
API Key. Both Admin and Query keys work, but for reading data it's
API version
ClientSession, in case we want to reuse connection for better performance.
Your Azure Active Directory token.
Key in a retrieved result to set as the Document page_content.
Number of results to retrieve. Set to None to retrieve all results.
OData $filter expression to apply to the search query.
Validate that service name, index name and api key exists in environment.
Azure Cognitive Search service retriever. This version of the retriever will soon be depreciated. Please switch to AzureAISearchRetriever
Azure Cognitive Search