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.75k stars 1.86k forks source link

feat: add document structure into GraphRAG #2033

Closed KingSkyLi closed 1 month ago

KingSkyLi commented 1 month ago

image

Aries-ckt commented 1 month ago

it looks like db upsert error.

 document embedding, failed:xx.txt, Query execution failed: {code: ParserException} {message: ParserException: line 3:12 no

 viable alternative at input 'CALL db.upsertVertex("chunk", [{id: "62c3475f-3ecf-4520-ae97-88336aaca5fe", name: 

"none_header_chunk", content: d748118572'}
Appointat commented 1 month ago

@KingSkyLi Hi, I was assigned to help review this pr, could you please explain what kind of the doc structure needed to be added in the graph? Thanks a lot!

Appointat commented 1 month ago

I will run the ut/it. and reformat the code today.

Aries-ckt commented 1 month ago

@KingSkyLi @Appointat i have met the problem when upload file.

2024-10-17 18:06:45 B-V0ECMD6R-0244.local dbgpt.serve.rag.service.service[90267] ERROR document embedding, failed:读写分离.md, 'Vertex' object has no attribute 'type'
Aries-ckt commented 1 month ago

Test Success image

image

Appointat commented 1 month ago
image image