A rasa bot that can generate and rephrase responses on the fly using LLMs
To deploy and run the bot, docker
and docker-compose
is required.
- Clone the repository and do
cd llm-response-bot
- Make sure to copy the
.env.template
to.env
and add your open-ai API key under theOPENAI_COMPLETIONS_API_KEY
key - Go to the project root directory and run
docker compose up -d
to run everything - Widget should be available @ http://localhost:80
The bot is a demo Pizza Shop bot that can do the following:
- say greet
- show the Pizza Shop menu
- tell about Pizza prices
- tell price for an order
- say welcome
- say goodbye
All the bot responses are generated or rephrased using Open AI GPT-3 text-davinci-003
completions model.
In case the rate limit is met (3 requests within a minute last I checked), bot will utter the default rephrase response.