From a19fd41769b96ef668d55862bf41cf0fe9f91e6f Mon Sep 17 00:00:00 2001 From: ChihYu Yeh Date: Fri, 13 Dec 2024 11:37:23 +0800 Subject: [PATCH] add table name to table_descriptions --- wren-ai-service/src/pipelines/indexing/table_description.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wren-ai-service/src/pipelines/indexing/table_description.py b/wren-ai-service/src/pipelines/indexing/table_description.py index 2255bd66c..eb5a23331 100644 --- a/wren-ai-service/src/pipelines/indexing/table_description.py +++ b/wren-ai-service/src/pipelines/indexing/table_description.py @@ -31,6 +31,7 @@ def _additional_meta() -> Dict[str, Any]: "id": str(uuid.uuid4()), "meta": { "type": "TABLE_DESCRIPTION", + "name": chunk["name"], **_additional_meta(), }, "content": str(chunk),