Live URL: https://resolutio-chatbot-pipeline.onrender.com
Backend for AI Chatbot with a serving wrapper in Flask
In order to run the pipeline, please follow the below steps.
- Download and Install Python 3.11.x (this version uses 3.11.2)
- Clone this repository
- Create a python virtual environment like below
python3 -m venv /path/to/env
example: `python3 -m venv ai_env`
- Activate the virtual environment like below.
source activate /path/to/env/bin/activate
example: `source activate ai_env/bin/activate`
- Install the required Python packages as followed
cd ai-chatbot-pipeline/
pip install -r requirements.txt
- Next, place the
.env
file with API keys (sent separately for security reasons) outside the repository directory. - Now go to
/ai-chatbot-pipeline
directory and from terminal, run app.py like below.
python app.py
- Once the app is launched, from another terminal (or terminal tab), run the bash script to make cURL requests.
./run.sh
- In the first terminal, you should see the main menu like below. Use Arrow to select any option and press Enter.
What do you need help with today?: General IP Queries
> General IP Queries
Azuki License
Viral Public License
BYAC License
MAYC License
- Once an option is selected, you will be asked to give a prompt.
- Write your question as a prompt and hit enter. First time it may take a while to get back a response.
- The response will be printed in the terminal for your reference. Additionally, the data (answer + chat_history) will be written in
chats.json
file in real-time. - To end the application, press
ctrl + c
in both terminals.