Skip to content

Commit 83bd5ce

Browse files
Fix content embedding container name (#1358)
1 parent 1557ce3 commit 83bd5ce

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "patch",
3+
"description": "Fix var name for embedding"
4+
}

graphrag/api/query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ async def drift_search(
365365

366366
full_content_embedding_store = _get_embedding_store(
367367
config_args=vector_store_args, # type: ignore
368-
container_suffix="community-full-content",
368+
container_suffix="community-full_content",
369369
)
370370

371371
_entities = read_indexer_entities(nodes, entities, community_level)
@@ -460,7 +460,7 @@ def _patch_vector_store(
460460

461461
full_content_embedding_store = LanceDBVectorStore(
462462
db_uri=config.embeddings.vector_store["db_uri"],
463-
collection_name=f"{collection_name}-community-full-content",
463+
collection_name=f"{collection_name}-community-full_content",
464464
overwrite=config.embeddings.vector_store["overwrite"],
465465
)
466466
full_content_embedding_store.connect(

0 commit comments

Comments
 (0)