Class AzureCosmosDBNoSqlContentRetriever
java.lang.Object
dev.langchain4j.store.embedding.azure.cosmos.nosql.AbstractAzureCosmosDBNoSqlEmbeddingStore
dev.langchain4j.rag.content.retriever.azure.cosmos.nosql.AzureCosmosDBNoSqlContentRetriever
- All Implemented Interfaces:
dev.langchain4j.rag.content.retriever.ContentRetriever, dev.langchain4j.store.embedding.EmbeddingStore<dev.langchain4j.data.segment.TextSegment>
public class AzureCosmosDBNoSqlContentRetriever
extends AbstractAzureCosmosDBNoSqlEmbeddingStore
implements dev.langchain4j.rag.content.retriever.ContentRetriever
-
Field Summary
Fields inherited from class AbstractAzureCosmosDBNoSqlEmbeddingStore
DEFAULT_CONTAINER_NAME, DEFAULT_DATABASE_NAME, DEFAULT_FULL_TEXT_INDEX_LANGUAGE, DEFAULT_FULL_TEXT_INDEX_PATH, DEFAULT_PARTITION_KEY_PATH, DEFAULT_SEARCH_QUERY_TYPE, DEFAULT_THROUGHPUT, DEFAULT_VECTOR_DATA_TYPE, DEFAULT_VECTOR_DIMENSIONS, DEFAULT_VECTOR_DISTANCE_FUNCTION, DEFAULT_VECTOR_INDEX_PATH, DEFAULT_VECTOR_INDEX_TYPE, filterMapper, USER_AGENT -
Constructor Summary
ConstructorsConstructorDescriptionAzureCosmosDBNoSqlContentRetriever(String endpoint, com.azure.core.credential.AzureKeyCredential keyCredential, com.azure.core.credential.TokenCredential tokenCredential, dev.langchain4j.model.embedding.EmbeddingModel embeddingModel, String databaseName, String containerName, String partitionKeyPath, com.azure.cosmos.models.IndexingPolicy indexingPolicy, com.azure.cosmos.models.CosmosVectorEmbeddingPolicy cosmosVectorEmbeddingPolicy, com.azure.cosmos.models.CosmosFullTextPolicy cosmosFullTextPolicy, Integer vectorStoreThroughput, AzureCosmosDBSearchQueryType azureCosmosDBSearchQueryType, Integer maxResults, Double minScore, dev.langchain4j.store.embedding.filter.Filter filter) -
Method Summary
Methods inherited from class AbstractAzureCosmosDBNoSqlEmbeddingStore
add, add, add, add, addAll, addAll, deleteContainer, findRelevantWithFullTextRanking, findRelevantWithFullTextSearch, findRelevantWithHybridSearch, initialize, remove, removeAll, searchMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.langchain4j.store.embedding.EmbeddingStore
addAll, generateIds, removeAll, removeAll
-
Constructor Details
-
AzureCosmosDBNoSqlContentRetriever
public AzureCosmosDBNoSqlContentRetriever(String endpoint, com.azure.core.credential.AzureKeyCredential keyCredential, com.azure.core.credential.TokenCredential tokenCredential, dev.langchain4j.model.embedding.EmbeddingModel embeddingModel, String databaseName, String containerName, String partitionKeyPath, com.azure.cosmos.models.IndexingPolicy indexingPolicy, com.azure.cosmos.models.CosmosVectorEmbeddingPolicy cosmosVectorEmbeddingPolicy, com.azure.cosmos.models.CosmosFullTextPolicy cosmosFullTextPolicy, Integer vectorStoreThroughput, AzureCosmosDBSearchQueryType azureCosmosDBSearchQueryType, Integer maxResults, Double minScore, dev.langchain4j.store.embedding.filter.Filter filter)
-
-
Method Details
-
retrieve
- Specified by:
retrievein interfacedev.langchain4j.rag.content.retriever.ContentRetriever
-