Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support local db? #5

Open
liguobao opened this issue Jan 15, 2024 · 3 comments
Open

support local db? #5

liguobao opened this issue Jan 15, 2024 · 3 comments

Comments

@liguobao
Copy link

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

@KevinZonda
Copy link
Owner

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

@KevinZonda
Copy link
Owner

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
Loading

@liguobao
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants