- Create a python virtual environment:
python -m venv .venv- Activate the virtual environment and install dependencies:
source ./venv/bin/active
(.venv) pip install --upgrade pip
(.venv) pip install -r requirements.txt- Create a docs folder to store your documents:
cd <my_repo_clone>
mkdir ./docs/- Run ollama:
ollama serve- Pull required models:
ollama pull granite3.3:2b
ollama pull nomic-embed-text:latest- Modify the
config.pyfile to change models, system prompt, etc.
vim ./config.py- Make your code changes and test them.
./cta.py -i -s -d ./docs/- Create a pull request with your changes.
This project uses conventional commit guidelines: https://www.conventionalcommits.org/en/v1.0.0/