Class AzureCosmosDbNoSqlEmbeddingStore
java.lang.Object
dev.langchain4j.store.embedding.azure.cosmos.nosql.AbstractAzureCosmosDBNoSqlEmbeddingStore
dev.langchain4j.store.embedding.azure.cosmos.nosql.AzureCosmosDbNoSqlEmbeddingStore
- All Implemented Interfaces:
EmbeddingStore<TextSegment>
public class AzureCosmosDbNoSqlEmbeddingStore
extends AbstractAzureCosmosDBNoSqlEmbeddingStore
implements EmbeddingStore<TextSegment>
Implementation of
EmbeddingStore
that uses Azure Cosmos DB NoSQL API for storing and retrieving embeddings.
This store provides vector search capabilities using Cosmos DB's vector search functionality.
You can read more about vector search using Azure Cosmos DB NoSQL here.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class dev.langchain4j.store.embedding.azure.cosmos.nosql.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
ConstructorsConstructorDescriptionAzureCosmosDbNoSqlEmbeddingStore
(String endpoint, com.azure.core.credential.AzureKeyCredential keyCredential, 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, AzureCosmosDBNoSqlFilterMapper filterMapper) AzureCosmosDbNoSqlEmbeddingStore
(String endpoint, com.azure.core.credential.TokenCredential tokenCredential, 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, AzureCosmosDBNoSqlFilterMapper filterMappe) -
Method Summary
Methods inherited from class dev.langchain4j.store.embedding.azure.cosmos.nosql.AbstractAzureCosmosDBNoSqlEmbeddingStore
add, add, add, add, addAll, addAll, deleteContainer, findRelevantWithFullTextRanking, findRelevantWithFullTextSearch, findRelevantWithHybridSearch, initialize, remove, removeAll, search
-
Constructor Details
-
AzureCosmosDbNoSqlEmbeddingStore
public AzureCosmosDbNoSqlEmbeddingStore(String endpoint, com.azure.core.credential.AzureKeyCredential keyCredential, 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, AzureCosmosDBNoSqlFilterMapper filterMapper) -
AzureCosmosDbNoSqlEmbeddingStore
public AzureCosmosDbNoSqlEmbeddingStore(String endpoint, com.azure.core.credential.TokenCredential tokenCredential, 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, AzureCosmosDBNoSqlFilterMapper filterMappe)
-
-
Method Details
-
builder
-