Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1013 Bytes

README.md

File metadata and controls

37 lines (22 loc) · 1013 Bytes

Git-GPT

Ask questions against any git repository.

Local. Private. No API key required.

Requirements

  • Python 3.10+

Supported file types

Check out LOADER_MAPPING in ingest.py.

Installation

Download the gpt4all model and put it into the models/ folder. Adjust the path in the .env file.

# Installation
pip install -r requirements.txt

# Run Git-GPT
python app.py

GPT

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.

Credits

Built with LangChain, GPT4All, LlamaCpp, Chroma and SentenceTransformers.