To install QABot, follow these steps:
- Clone the repository:
git clone https://github.com/kamikazebr/qabot.git
- Navigate to the directory where the repository was downloaded
Open qabot.code-workspace into VSCode
- Install the required dependencies poetry を使って
pdm import -f poetry pyproject.toml
pdm install
-
Rename
.env.sample
to.env
-
Open the
.env
file and fill in the following variables:OPENAI_API_KEY
: Your OpenAI API key.
- Run
QABot
Python module in your terminal
python ./src/main.py
poetry run python src/main.py
python ./src/api.py
poetry run python src/api.py
After in webapp folder
pnpm install
pnpm dev
or
yarn install
yarn dev
Default model is gpt-3.5-turbo. To use a different model, specify it through OPENAI_API_MODEL or use the command line. GPT-4 and LLaMA compatibility testing is currently not being conducted.
I would like to express my gratitude to the developers whose code I referenced in creating this repo.
Special thanks go to
Pengenuity @dory111111 (https://github.com/dory111111/Pengenuity.git)