-
Sets the Azure AI Search API key.
AzureAiSearchContentRetriever.builder()
Whether to create or update the search index.
AzureAiSearchContentRetriever.Builder.dimensions(int dimensions)
If using the ready-made index, sets the number of dimensions of the embeddings.
Sets the Embedding Model.
Sets the Azure AI Search endpoint.
Sets the filter to be applied to the search query.
Sets the filter mapper to be used to map
Filter
objects to Azure AI Search filter strings.
AzureAiSearchContentRetriever.Builder.index(com.azure.search.documents.indexes.models.SearchIndex index)
If using a custom index, sets the index to be used.
If no index is provided, set the name of the default index to be used.
AzureAiSearchContentRetriever.Builder.maxResults(int maxResults)
Sets the maximum number of
Content
s to retrieve.
AzureAiSearchContentRetriever.Builder.minScore(double minScore)
Sets the minimum relevance score for the returned
Content
s.
Sets the Azure AI Search Query Type.
AzureAiSearchContentRetriever.Builder.tokenCredential(com.azure.core.credential.TokenCredential tokenCredential)
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.