eosphoros-ai / DB-GPT

AI Native Data App Development framework with AWEL(Agentic Workflow Expression Language) and Agents
http://docs.dbgpt.cn
MIT License
13.63k stars 1.82k forks source link

[Bug] [KG] An "No such graph: TuGraph" error occurred while creating KG database. #1825

Open Hec-gitHub opened 2 months ago

Hec-gitHub commented 2 months ago

Search before asking

Operating system information

Linux

Python version information

3.10

DB-GPT version

main

Related scenes

Installation Information

Device information

Device:CPU

Models information

LLM:Proxy LLM

What happened

When creating a graph knowledge base, after uploading the TxT document and processing it for a period of time, it failed. Output information through logs: After uploading the document, the split document is read normally first, but after a period of execution, the following error will be thrown.

document embedding, failed:TuGraph_db.txt, {code: InputError} {message: No such graph: TuGraph}

Additionally, occasionally, a "KvException" error may occur after uploading a document.

document embedding, failed:TuGraph_db.txt, {code: KvException} {message: MDB_BAD_VALSIZE: Unsupported size of key/DB name/data, or wrong DUPFIXED size}

What you expected to happen

The graph knowledge base was created normally.

How to reproduce

  1. On the New Chat screen, click on Chat Knowledge.
  2. Click the create button and select the Knowledge graph type.
  3. Upload the document.
  4. Click the processing button.

Additional context

No response

Are you willing to submit PR?

Jacknolfskin commented 2 months ago

长文本文档建立图谱时,索引一段时间后同样出现了message: MDB_BAD_VALSIZE: Unsupported size of key/DB name/data, or wrong DUPFIXED size错误,但已索引的片段生成的图谱打开正常,waiting reply

Hec-gitHub commented 2 months ago

长文本文档建立图谱时,索引一段时间后同样出现了message: MDB_BAD_VALSIZE: Unsupported size of key/DB name/data, or wrong DUPFIXED size错误,但已索引的片段生成的图谱打开正常,waiting reply

上传切片的文档是txt类型,大小只有6KB,经过测试,在本地环境上传超过2KB 的文档时,就会出现上述错误。

kuschzzp commented 1 month ago

长文本文档建立图谱时,索引一段时间后同样出现了message: MDB_BAD_VALSIZE: Unsupported size of key/DB name/data, or wrong DUPFIXED size错误,但已索引的片段生成的图谱打开正常,waiting reply

上传切片的文档是txt类型,大小只有6KB,经过测试,在本地环境上传超过2KB 的文档时,就会出现上述错误。

你好,我是同样的问题,请问有暂时让它能用的解决办法么?