Skip to content

askrella/git-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages