float32 icon indicating copy to clipboard operation
float32 copied to clipboard

support local db?

Open liguobao opened this issue 2 years ago • 3 comments

What should I do if I want to support local knowledge base coming in? What would the effect be?

liguobao avatar Jan 15 '24 04:01 liguobao

WIll try add this. Is your local KB a vector db (e.g., milvus) or other tech stack (elastic search, csv file, etc)?

KevinZonda avatar Jan 15 '24 11:01 KevinZonda

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

KevinZonda avatar Jan 20 '24 16:01 KevinZonda

Probably understood, I'll try it later~ Thanksgiving~

liguobao avatar Jan 22 '24 03:01 liguobao