From baa261c8e93782148c48bb463a8c241b84843937 Mon Sep 17 00:00:00 2001 From: Kylin Date: Thu, 7 Nov 2024 07:49:06 +0800 Subject: [PATCH] [bugfix]Fix query error with --streaming (#1368) * fix streaming output error * add semversioner --------- Co-authored-by: Alonso Guevara --- .semversioner/next-release/patch-20241106094228896260.json | 4 ++++ graphrag/api/query.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .semversioner/next-release/patch-20241106094228896260.json diff --git a/.semversioner/next-release/patch-20241106094228896260.json b/.semversioner/next-release/patch-20241106094228896260.json new file mode 100644 index 0000000000..e9c07c612b --- /dev/null +++ b/.semversioner/next-release/patch-20241106094228896260.json @@ -0,0 +1,4 @@ +{ + "type": "patch", + "description": "fix streaming output error" +} diff --git a/graphrag/api/query.py b/graphrag/api/query.py index b1e20409e5..60691c7108 100644 --- a/graphrag/api/query.py +++ b/graphrag/api/query.py @@ -276,7 +276,7 @@ async def local_search_streaming( reporter.info(f"Vector Store Args: {redact(vector_store_args)}") # type: ignore description_embedding_store = _get_embedding_store( - conf_args=vector_store_args, # type: ignore + config_args=vector_store_args, # type: ignore container_suffix="entity-description", )