Ask questions against any git repository.
Local. Private. No API key required.
- Python 3.10+
Check out LOADER_MAPPING
in ingest.py
.
Download the gpt4all model and put it into the models/
folder. Adjust the path in the .env file.
- https://gpt4all.io/models/ggml-gpt4all-j-v1.3-groovy.bin (~3,7 GB)
- https://gpt4all.io/models/ggml-gpt4all-l13b-snoozy.bin (~7,6 GB) (Doesnt work yet)
# Installation
pip install -r requirements.txt
# Run Git-GPT
python app.py
You can also use OpenAI's GPT-3 API. Just set the OPENAI_API_KEY
environment variable in the .env
file.
The default model is gpt4all
. If the api key is set, it will use OpenAI GPT-3.
Built with LangChain, GPT4All, LlamaCpp, Chroma and SentenceTransformers.