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] [Module Name] Bug title Graph RAG query error. #2113

Open
4 of 15 tasks
ljhssga opened this issue Nov 1, 2024 · 4 comments
Open
4 of 15 tasks

[Bug] [Module Name] Bug title Graph RAG query error. #2113

ljhssga opened this issue Nov 1, 2024 · 4 comments
Labels
bug Something isn't working Waiting for reply

Comments

@ljhssga
Copy link

ljhssga commented Nov 1, 2024

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 1 memory 24g

Models information

qwen2.5 14B

What happened

接口地址:/api/v1/chat/completions
参数:{"chat_mode":"chat_knowledge","model_name":"proxyllm","user_input":"有关特朗普的事情","app_code":"chat_knowledge","temperature":0.5,"select_param":"sad及哦啊接到哦i阿斯加德","conv_uid":"cb6cd85a-97fc-11ef-a342-e89c252b45fe"}
报错:File "/home/data/project/DB-GPT/dbgpt/app/scene/chat_knowledge/v1/chat.py", line 166, in generate_input_values
chucks = self.chunk_dao.get_document_chunks(
File "/home/data/project/DB-GPT/dbgpt/app/knowledge/chunk_db.py", line 97, in get_document_chunks
result = document_chunks.all()
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) LIKE or GLOB pattern too complex

What you expected to happen

问答报错 期望能正确问答

How to reproduce

1.创建知识库 选择存储类型Knowledge Graph
2.新增数据(大量)
3.知识库问答

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@ljhssga ljhssga added bug Something isn't working Waiting for reply labels Nov 1, 2024
@Aries-ckt Aries-ckt changed the title [Bug] [Module Name] Bug title 知识图谱查询报错 [Bug] [Module Name] Bug title Graph RAG query error. Nov 1, 2024
@Aries-ckt
Copy link
Collaborator

it looks like plenty of documents will reproduce this problem.

@ljhssga
Copy link
Author

ljhssga commented Nov 4, 2024

it looks like plenty of documents will reproduce this problem.

So what's the solution

@Appointat
Copy link
Contributor

hi @ljhssga . How many docs you have uploaded in one time? Can you provide me more info? thanks

@ljhssga
Copy link
Author

ljhssga commented Nov 6, 2024

hi @ljhssga . How many docs you have uploaded in one time? Can you provide me more info? thanks

About 1000, all txt, the content length is not fixed.Language is English @Appointat

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

3 participants