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

Using CAG ArangoDB Graph To incorporate with LLM #46

Open
roxanneelbaff opened this issue Oct 5, 2023 · 0 comments
Open

Using CAG ArangoDB Graph To incorporate with LLM #46

roxanneelbaff opened this issue Oct 5, 2023 · 0 comments
Assignees

Comments

@roxanneelbaff
Copy link
Member

We want to use our Arango graph to be incorporated with LLM.

As input, the new model will take a graph/subgraph, process it, save it in the vector db and create a RAG.

CONFIG

For that, we define all the attributes in config file (YAML or python dictionary) with the following variables (preliminary):

model_name_path: "llama-v2-b-chat-hf"

generation_params:
          temperature: 0.1 
          ....
          
 graph_db:
          username: 
          password:
          url:....   
          
vector_db:
          type: chroma_db
          username: 
          password:
          url:.... 

RAG_params: <params related to integrating vector db to llm>

CagRag Model

The CAG RAG model takes the config file and the subgraph (using AQL output, or a postprocessed format) and outputs the RAG model.

Questions to answer

  • subgraphs to vectordb: how can we define the format and what do we need from the user?
  • Shall we use only ChromaDB or shall we support more DBs?
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

3 participants