A CLI-based chatbot that fine-tunes itself in real time by learning from your local Git repo. Ask the chatbot about codebase details for faster development and bug fixes, and have it auto-update on each commit.
- Docker
- Node.js
Install dependencies using pnpm install
- Copy
.env.sampleto.env1.1. SpecifyOPENAI_API_KEYandDEFAULT_REPO_PATHin the.env - Start a new Postgres database locally using
pnpm db:upwhich will also install thepgvectorextension. - Run
pnpm db:pushto sync the schema with your database - Run
pnpm devto start the CLI
Once started:
- Provide a repo path if different from
DEFAULT_REPO_PATH- else leave empty - If the repo is new, it will embed the codebase into Postgres using OpenAI Embeddings
- Ask questions about your codebase in the chatbot
- A.I.Ware will check for new commits to delete old embeddings of changed files and re-embed them periodically so it always has the latest context.
This repo is licensed under the MIT License.
