Skip to content

A practical RAG where you can download and chat with github repo

Notifications You must be signed in to change notification settings

SylphAI-Inc/GithubChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GithubChat

A RAG assistant to allow you to chat with any github repo. Learn fast. The default repo is AdalFlow github repo.

Setup

  1. Install dependencies:
poetry install
  1. Set up OpenAI API key:

Create a .streamlit/secrets.toml file in your project root:

mkdir -p .streamlit
touch .streamlit/secrets.toml

Add your OpenAI API key to .streamlit/secrets.toml:

OPENAI_API_KEY = "your-openai-api-key-here"

Running the Application

Run the streamlit app:

poetry run streamlit run app.py

ROADMAP

  • Clearyly structured RAG that can prepare a repo, persit from reloading, and answer questions.

    • DatabaseManager in src/data_pipeline.py to manage the database.
    • RAG class in src/rag.py to manage the whole RAG lifecycle.
  • Conditional retrieval. Sometimes users just want to clarify a past conversation, no extra context needed.

  • Create an evaluation dataset

  • Evaluate the RAG performance on the dataset

  • Auto-optimize the RAG model

About

A practical RAG where you can download and chat with github repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages