Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haardikk21/aiware
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.
https://github.com/haardikk21/aiware
chatbot gpt javascript langchain open-ai openai prisma with-prisma with-vectorstores
Last synced: about 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/haardikk21/aiware
- Owner: haardikk21
- License: mit
- Created: 2023-08-01T20:05:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-08T16:01:36.000Z (over 1 year ago)
- Last Synced: 2023-08-08T17:33:44.293Z (over 1 year ago)
- Topics: chatbot, gpt, javascript, langchain, open-ai, openai, prisma, with-prisma, with-vectorstores
- Language: TypeScript
- Homepage:
- Size: 9.21 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A.I.Ware
![](./AIWare%20Demo.gif)
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.
## Requirements
- Docker
- Node.js## Workflow
Install dependencies using `pnpm install`
1. Copy `.env.sample` to `.env`
1.1. Specify `OPENAI_API_KEY` and `DEFAULT_REPO_PATH` in the `.env`
2. Start a new Postgres database locally using `pnpm db:up` which will also install the `pgvector` extension.
3. Run `pnpm db:push` to sync the schema with your database
4. Run `pnpm dev` to start the CLIOnce started:
1. Provide a repo path if different from `DEFAULT_REPO_PATH` - else leave empty
2. If the repo is new, it will embed the codebase into Postgres using OpenAI Embeddings
3. Ask questions about your codebase in the chatbot
4. 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.## License
This repo is licensed under the [MIT License](./LICENSE).