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 c5d8599 commit f967e77Copy full SHA for f967e77
graphrag/config/models/vector_store_config.py
@@ -97,8 +97,8 @@ def _validate_embeddings_schema(self) -> None:
97
raise ValueError(msg)
98
99
if self.type == VectorStoreType.CosmosDB:
100
- for id_field in self.embeddings_schema.values():
101
- if id_field.id_field != "id":
+ for id_field in self.embeddings_schema:
+ if id_field != "id":
102
msg = "When using CosmosDB, the id_field in embeddings_schema must be 'id'. Please rerun `graphrag init` and set the id_field to 'id'."
103
104
0 commit comments