mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-07 13:40:46 +00:00
BUGFIX: Use embedding key in azure_cosmos_db index creation (#13919)
Description: Implement embedding key parametrisation Issue: https://github.com/langchain-ai/langchain/issues/13918 Dependencies: None Tag maintainer: @hwchase17 @izzymsft Twitter handle:@MaddogoS
This commit is contained in:
parent
ac67422a3d
commit
c156d0281a
@ -221,7 +221,7 @@ class AzureCosmosDBVectorSearch(VectorStore):
|
||||
"indexes": [
|
||||
{
|
||||
"name": self._index_name,
|
||||
"key": {"vectorContent": "cosmosSearch"},
|
||||
"key": {self._embedding_key: "cosmosSearch"},
|
||||
"cosmosSearchOptions": {
|
||||
"kind": "vector-ivf",
|
||||
"numLists": num_lists,
|
||||
|
Loading…
Reference in New Issue
Block a user