We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6d923e commit d8df0eaCopy full SHA for d8df0ea
graphrag/vector_stores/cosmosdb.py
@@ -83,7 +83,7 @@ def _database_exists(self) -> bool:
83
84
def _create_container(self) -> None:
85
"""Create the container if it doesn't exist."""
86
- partition_key = PartitionKey(path="/id", kind="Hash")
+ partition_key = PartitionKey(path=f"/{self.id_field}", kind="Hash")
87
88
# Define the container vector policy
89
vector_embedding_policy = {
0 commit comments