You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-09-14 14:44:14 2024-09-14 06:44:14 7ba7ee03bbb8 dbgpt.app.knowledge.api[1] INFO Received params: 知识图谱测试, doc_ids=[1] model_name=None pre_separator=None separators=None chunk_size=None chunk_overlap=None
2024-09-14 14:44:15 /usr/local/lib/python3.10/dist-packages/pydantic/_internal/fields.py:132: UserWarning: Field "model_name" in BuiltinKnowledgeGraphConfig has conflict with protected namespace "model".
2024-09-14 14:44:15
2024-09-14 14:44:15 You may be able to resolve this warning by setting model_config['protected_namespaces'] = ().
2024-09-14 14:44:15 warnings.warn(
2024-09-14 14:44:15 /usr/local/lib/python3.10/dist-packages/pydantic/_internal/fields.py:132: UserWarning: Field "model_name" in CommunitySummaryKnowledgeGraphConfig has conflict with protected namespace "model".
2024-09-14 14:44:15
2024-09-14 14:44:15 You may be able to resolve this warning by setting model_config['protected_namespaces'] = ().
2024-09-14 14:44:15 warnings.warn(
2024-09-14 14:44:15 2024-09-14 06:44:15 7ba7ee03bbb8 dbgpt.serve.rag.connector[1] INFO VectorStore:<class 'dbgpt.storage.knowledge_graph.community_summary.CommunitySummaryKnowledgeGraph'>
2024-09-14 14:44:15 2024-09-14 06:44:15 7ba7ee03bbb8 dbgpt.storage.graph_store.factory[1] ERROR create graph store failed: Query execution failed: {code: CypherException} {message: CypherException: visit(...) failed at src/cypher/arithmetic/ast_expr_evaluator.cpp:480}
2024-09-14 14:44:15 2024-09-14 06:44:15 7ba7ee03bbb8 dbgpt.serve.rag.connector[1] ERROR connect vector store failed: Query execution failed: {code: CypherException} {message: CypherException: visit(...) failed at src/cypher/arithmetic/ast_expr_evaluator.cpp:480}
Search before asking
Operating system information
Linux
Python version information
DB-GPT version
main
Related scenes
Installation Information
Installation From Source
Docker Installation
Docker Compose Installation
Cluster Installation
AutoDL Image
Other
Device information
GPU GTX 3060
Models information
Qwen-72B
What happened
2024-09-14 14:44:14 2024-09-14 06:44:14 7ba7ee03bbb8 dbgpt.app.knowledge.api[1] INFO Received params: 知识图谱测试, doc_ids=[1] model_name=None pre_separator=None separators=None chunk_size=None chunk_overlap=None
2024-09-14 14:44:15 /usr/local/lib/python3.10/dist-packages/pydantic/_internal/fields.py:132: UserWarning: Field "model_name" in BuiltinKnowledgeGraphConfig has conflict with protected namespace "model".
2024-09-14 14:44:15
2024-09-14 14:44:15 You may be able to resolve this warning by setting
model_config['protected_namespaces'] = ()
.2024-09-14 14:44:15 warnings.warn(
2024-09-14 14:44:15 /usr/local/lib/python3.10/dist-packages/pydantic/_internal/fields.py:132: UserWarning: Field "model_name" in CommunitySummaryKnowledgeGraphConfig has conflict with protected namespace "model".
2024-09-14 14:44:15
2024-09-14 14:44:15 You may be able to resolve this warning by setting
model_config['protected_namespaces'] = ()
.2024-09-14 14:44:15 warnings.warn(
2024-09-14 14:44:15 2024-09-14 06:44:15 7ba7ee03bbb8 dbgpt.serve.rag.connector[1] INFO VectorStore:<class 'dbgpt.storage.knowledge_graph.community_summary.CommunitySummaryKnowledgeGraph'>
2024-09-14 14:44:15 2024-09-14 06:44:15 7ba7ee03bbb8 dbgpt.storage.graph_store.factory[1] ERROR create graph store failed: Query execution failed: {code: CypherException} {message: CypherException: visit(...) failed at src/cypher/arithmetic/ast_expr_evaluator.cpp:480}
2024-09-14 14:44:15 2024-09-14 06:44:15 7ba7ee03bbb8 dbgpt.serve.rag.connector[1] ERROR connect vector store failed: Query execution failed: {code: CypherException} {message: CypherException: visit(...) failed at src/cypher/arithmetic/ast_expr_evaluator.cpp:480}
What you expected to happen
正常创建知识库,并正常同步
How to reproduce
在创建知识库的时候,没有create知识库,就进行了连接导致出错。
TuGraph 正常启动
以下是.env配置:
##
#** VECTOR STORE / KNOWLEDGE GRAPH SETTINGS **#
##
VECTOR_STORE_TYPE=Chroma
GRAPH_STORE_TYPE=TuGraph
GRAPH_COMMUNITY_SUMMARY_ENABLED=True
KNOWLEDGE_GRAPH_EXTRACT_SEARCH_TOP_SIZE=5
KNOWLEDGE_GRAPH_EXTRACT_SEARCH_RECALL_SCORE=0.3
KNOWLEDGE_GRAPH_COMMUNITY_SEARCH_TOP_SIZE=20
KNOWLEDGE_GRAPH_COMMUNITY_SEARCH_RECALL_SCORE=0.0
Chroma vector db config
CHROMA_PERSIST_PATH=/root/DB-GPT/pilot/data
TuGraph config
TUGRAPH_HOST=192.168.1.102
TUGRAPH_PORT=7687
TUGRAPH_USERNAME=admin
TUGRAPH_PASSWORD=73@TuGraph
TUGRAPH_VERTEX_TYPE=entity
TUGRAPH_EDGE_TYPE=relation
TUGRAPH_PLUGIN_NAMES=leiden
#开启图社区总结能力
GRAPH_COMMUNITY_SUMMARY_ENABLED=True
Additional context
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: