chore(graphrag): upgrade dbgpt-tugraph-plugins to version 0.1.1 (#2213)

Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
This commit is contained in:
Florian
2024-12-17 18:33:27 +08:00
committed by GitHub
parent 38a8fc11d9
commit 3745d7411d
4 changed files with 7 additions and 6 deletions

View File

@@ -134,7 +134,9 @@ class DbChatOutputParser(BaseOutputParser):
if param["type"] == "response_vector_chart":
df, visualizable = self.parse_vector_data_with_pca(df)
param["type"] = "response_scatter_chart" if visualizable else "response_table"
param["type"] = (
"response_scatter_chart" if visualizable else "response_table"
)
param["sql"] = prompt_response.sql
param["data"] = json.loads(