srikalyan / repo-chat

Use AI to ask questions about any GitHub repo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Repo Chat

Repo chat allows you to ask questions about a GitHub repository.

Requirements

In this project we use OpenAI embeddings and Supabase with pgvector as our vector database.

You can switch out either of these with your own preference.

How To Run

  1. Run the schema.sql file in Supabase's SQL editor.

  2. Configure the .env file.

  3. Run pip install -r requirements.txt to install the dependencies.

  4. Run the load.py script to clone the repo.

  5. Run the embed.py script to embed the repo.

  6. Run the main.py script to ask questions about the repo.

Contact

If you have any questions, feel free to reach out to Mckay on Twitter!

About

Use AI to ask questions about any GitHub repo.

License:MIT License


Languages

Language:Python 80.5%Language:PLpgSQL 19.5%