Skip to content

Developed a chatbot using Dialogflow, Python, MySQL, and Flask. Enabled users to place restaurant orders through a conversational interface. Stored order information in a MySQL database for efficient management. Provided order ID and product details to users for reference.

Notifications You must be signed in to change notification settings

akashverma55/Chatbot

Repository files navigation

Directory structure

backend: Contains Python FastAPI backend code db: contains the dump of the database. you need to import this into your MySQL db by using MySQL workbench tool dialogflow_assets: this has training phrases etc. for our intents frontend: website code

Install these modules

pip install mysql-connector
pip install "fastapi[all]"

Or just run

pip install -r backend/requirements.txt to install both in one shot

To start fastapi backend server

  1. Go to backend directory in your command prompt
  2. Run this command: uvicorn main:app --reload

ngrok for https tunneling

  1. To install ngrok, go to https://ngrok.com/download and install ngrok version that is suitable for your OS
  2. Extract the zip file and place ngrok.exe in a folder.
  3. Open windows command prompt, go to that folder and run this command: ngrok http 80000

NOTE: ngrok can timeout. you need to restart the session if you see session expired message.

About

Developed a chatbot using Dialogflow, Python, MySQL, and Flask. Enabled users to place restaurant orders through a conversational interface. Stored order information in a MySQL database for efficient management. Provided order ID and product details to users for reference.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published