• Stars
    star
    596
  • Rank 75,095 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created over 1 year ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Use AI to ask questions about any GitHub repo.

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. Go to Supabase

  2. Create your account, if you already donโ€™t have it.

  3. Once your account is created, click on All projects>Create Project

  4. Put your project name, then it will give you a Supabase URL and a service key.

  5. Copy .env.example file and rename it as .env

  6. Change the Supabase URL and the key in the .env file

  7. Now, click on your project name on Supabase, and click on the SQL Editor menu which is on the left sidebar. image

  8. Open schema.sql file in your IDE, copy it and paste in the Supabase's Query Editor, Hit Run.

  9. Configure the .env file with your repo url, repo branch of your choice, openai key, make sure you changed the Supabase's URL and key in the step 6.

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

  11. Run the python3 load.py script to clone the repo.

  12. Run the python3 embed.py script to embed the repo.

  13. Run the python3 main.py script to ask questions about the repo.

Contact

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

More Repositories

1

chatbot-ui

AI chat for every model.
TypeScript
27,035
star
2

ai-code-translator

Use AI to translate code from one language to another.
TypeScript
3,829
star
3

paul-graham-gpt

AI search & chat for all of Paul Grahamโ€™s essays.
TypeScript
2,622
star
4

clarity-ai

A simple Perplexity AI clone.
TypeScript
1,064
star
5

chatbot-ui-lite

A simple chatbot starter kit for OpenAI's chat model using Next.js, TypeScript, and Tailwind CSS.
TypeScript
918
star
6

prompts

My favorite AI prompts.
832
star
7

ai-brainstore

A proof-of-concept of a brain for an AI agent.
TypeScript
681
star
8

wait-but-why-gpt

AI search & chat for all Wait But Why posts.
TypeScript
343
star
9

kindle-gpt

AI search & chat on your Kindle highlights.
TypeScript
254
star
10

naval-gpt

AI search & chat for Naval Ravikant's Twitter thread "How To Get Rich."
TypeScript
163
star
11

nba-cba-ai-chat

Use AI to ask questions about the new 676-page NBA CBA.
TypeScript
122
star
12

storybook-ai

Use AI to write complete stories.
TypeScript
113
star
13

the-network-state-gpt

AI search & chat for Balaji Srinivasan's "The Network State."
TypeScript
66
star
14

takeoff-school-your-1st-ai-app

Learn to code your 1st AI app in 21 lines of Python in ~30min!
Python
58
star
15

mckaywrigley

Config files for my GitHub profile.
29
star
16

web-app-starter

TypeScript
23
star
17

generative-ui-experiments

16
star
18

takeoff-openai-assistants

Join Takeoff for full tutorial.
14
star
19

takeoff-vercel-ai-sdk

TypeScript
6
star
20

typescript-starter

TypeScript
5
star
21

buildware

TypeScript
3
star
22

takeoff-todo-app

Source code for the Todo App from Section 2 of "Building Full-Stack Apps with AI" on Takeoff.
TypeScript
2
star
23

takeoff-openai-api

TypeScript
2
star
24

takeoff-google-gen-ai-api

TypeScript
2
star
25

takeoff-openrouter-api

2
star
26

takeoff-mistral-api

TypeScript
2
star
27

takeoff-groq-api

TypeScript
2
star
28

takeoff-perplexity-api

TypeScript
2
star
29

takeoff-notes-app-starter

TypeScript
1
star
30

takeoff-anthropic-api

1
star