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.sampleto.env -
Open the
.envfile and fill in the following variables:OPENAI_API_KEY: Your OpenAI API key.
- Run
QABotPython module in your terminal
python ./src/main.pypoetry run python src/main.pypython ./src/api.pypoetry run python src/api.pyAfter in webapp folder
pnpm install
pnpm devor
yarn install
yarn devDefault 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)