Uses of Class
dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
Packages that use AzureAiSearchContentRetriever.Builder
-
Uses of AzureAiSearchContentRetriever.Builder in dev.langchain4j.rag.content.retriever.azure.search
Methods in dev.langchain4j.rag.content.retriever.azure.search that return AzureAiSearchContentRetriever.BuilderModifier and TypeMethodDescriptionSets the Azure AI Search API key.AzureAiSearchContentRetriever.builder()
AzureAiSearchContentRetriever.Builder.createOrUpdateIndex
(boolean createOrUpdateIndex) 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.AzureAiSearchContentRetriever.Builder.embeddingModel
(EmbeddingModel embeddingModel) Sets the Embedding Model.Sets the Azure AI Search endpoint.Sets the filter to be applied to the search query.AzureAiSearchContentRetriever.Builder.filterMapper
(AzureAiSearchFilterMapper filterMapper) Sets the filter mapper to be used to mapFilter
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 ofContent
s to retrieve.AzureAiSearchContentRetriever.Builder.minScore
(double minScore) Sets the minimum relevance score for the returnedContent
s.AzureAiSearchContentRetriever.Builder.queryType
(AzureAiSearchQueryType azureAiSearchQueryType) 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.