infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
22.86k stars 2.24k forks source link

[Question]: How to build knowledge base content for ddd_ input, d_input, and sql_input #2444

Open leleZeng opened 2 months ago

leleZeng commented 2 months ago

Describe your problem

I want to understand the entire processing workflow of DB Assistant. I noticed that the task node responsible for generating SQL depends on three data inputs retrieved from the knowledge base: ddd_input, d_input, and sql_input. Additionally, different knowledge bases are specified for each of them in the default template. I would like to understand how to build these three knowledge bases and what the specific contents should be.