An incubating AI-powered Q&A for your codebase.
Make sure git-lfs is installed.
-
Clone the repository.
git clone https://github.com/TabbyML/quick-question.git
-
Save your OPENAI_API_KEY to file as secret.
echo YOUR_OPENAI_API_KEY > openai_api_key.txt
-
Optional Run Quick Question on your github project.
-
Create new directory for you project under
/data, e.g/data/quick-question. -
Add a new
metadata.jsonfile in your project directory. Here is a templete of file content, replace{GITHUB_PROJECT}with your own project name, e.gTabbyML/quick-question.{ "name": "{GITHUB_PROJECT}", "exampleQueries": ["How to ...?"] }See ./data/diffusers/metadata.json for a complete example.
-
-
Start container.
docker-compose up
- Make sure git-lfs is installed.
- Clone the repository, runs
yarnto install dependencies. - Run
yarn lerna run build. - Switch workdir to
./packages/quick-question. - Copy
.env.sampleto.env.local, and set yourOPENAI_API_KEY. - Run
yarn devto start local development
Many thanks to WizAI for contributing with code-search, a project that QuickQuestion branched from.
