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.json
file 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
yarn
to install dependencies. - Run
yarn lerna run build
. - Switch workdir to
./packages/quick-question
. - Copy
.env.sample
to.env.local
, and set yourOPENAI_API_KEY
. - Run
yarn dev
to start local development server.
Come help us make Tabby even better. We're growing fast and would love for you to join us.
Many thanks to WizAI for contributing with code-search, a project that QuickQuestion branched from.