support local db?
liguobao opened this issue · comments
李国宝 commented
What should I do if I want to support local knowledge base coming in?
What would the effect be?
Xiang Shi commented
WIll try add this. Is your local KB a vector db (e.g., milvus) or other tech stack (elastic search, csv file, etc)?
Xiang Shi commented
New frame design:
flowchart LR
start(Query)
agent(Agent)
vdb[(Vector DB e.g. Milvus)]
othr(Other)
pt(Prompt Engineer)
llm(LLM, ChatGPT)
subgraph Global RAG / 全局 RAG
subgraph User Defined RAG / 用户定义 RAG
vdb ---> agent
othr ---> agent
end
subgraph float32 Managed RAG / float32 托管 RAG
google(Google Search)
db(float32 Managed DB i.e. MySQL)
mvdb(float32 Managed Vector DB e.g. pgvector)
end
end
start ---> google
start ---> agent
start ---> db
start ..-> mvdb
db ---> pt
mvdb ..-> pt
google ---> pt
agent ---> pt
pt ---> llm
李国宝 commented
Probably understood, I'll try it later~
Thanksgiving~