Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [tugraph] tugraph import data occur error #2482

Open
1 of 15 tasks
hiro110110 opened this issue Mar 18, 2025 · 2 comments
Open
1 of 15 tasks

[Bug] [tugraph] tugraph import data occur error #2482

hiro110110 opened this issue Mar 18, 2025 · 2 comments
Labels
bug Something isn't working Waiting for reply

Comments

@hiro110110
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

Linux

Python version information

=3.11

DB-GPT version

main

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

Device information

GPU

Models information

olama

What happened

INFO: 192.168.11.212:55748 - "POST /knowledge/space/list HTTP/1.1" 200 OK
INFO: 192.168.11.212:55748 - "GET /models/knowledge-graph.png HTTP/1.1" 200 OK
INFO: 192.168.11.212:55750 - "GET /pictures/card_chat.png HTTP/1.1" 200 OK
/document/upload params: test001
current session:<sqlalchemy.orm.session.Session object at 0x7f1ed4340be0>
INFO: 192.168.11.212:55793 - "POST /knowledge/test001/document/upload HTTP/1.1" 200 OK
2025-03-18 07:15:37 687a6bfbb293 dbgpt_app.knowledge.api[1] INFO /document/chunkstrategies:
INFO: 192.168.11.212:55793 - "GET /knowledge/document/chunkstrategies HTTP/1.1" 200 OK
2025-03-18 07:15:40 687a6bfbb293 dbgpt_app.knowledge.api[1] INFO Received params: test001, [KnowledgeSyncRequest(doc_id=73, space_id=None, model_name=None, chunk_parameters=ChunkParameters(chunk_strategy='Automatic', text_splitter=None, splitter_type=<SplitterType.USER_DEFINE: 'user_define'>, chunk_size=512, chunk_overlap=50, separator='\n', enable_merge=None))]
current session:<sqlalchemy.orm.session.Session object at 0x7f1edc64f340>
2025-03-18 07:15:40 687a6bfbb293 dbgpt_serve.rag.connector[1] INFO VectorStore:<class 'dbgpt_ext.storage.knowledge_graph.knowledge_graph.BuiltinKnowledgeGraph'>
2025-03-18 07:15:40 687a6bfbb293 dbgpt_app.knowledge.api[1] ERROR document sync batch error!
Traceback (most recent call last):
File "/app/packages/dbgpt-app/src/dbgpt_app/knowledge/api.py", line 454, in batch_document_sync
doc_ids = await service.sync_document(requests=request)
File "/app/packages/dbgpt-serve/src/dbgpt_serve/rag/service/service.py", line 241, in sync_document
await self._sync_knowledge_document(space_id, doc, chunk_parameters)
File "/app/packages/dbgpt-serve/src/dbgpt_serve/rag/service/service.py", line 516, in _sync_knowledge_document
vector_store_connector = VectorStoreConnector(
File "/app/packages/dbgpt-serve/src/dbgpt_serve/rag/connector.py", line 82, in init
config_dict[key] = value
TypeError: 'BuiltinKnowledgeGraphConfig' object does not support item assignment
INFO: 192.168.11.212:55793 - "POST /knowledge/test001/document/sync_batch HTTP/1.1" 200 OK

What you expected to happen

see error

How to reproduce

see error

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@hiro110110 hiro110110 added bug Something isn't working Waiting for reply labels Mar 18, 2025
@Aries-ckt
Copy link
Collaborator

@hiro110110
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting for reply
Projects
None yet
Development

No branches or pull requests

2 participants