A mock drive thru ordering system that allows users to place and cancel their orders using AI.
The user will input the order details in natual language. The user can opt to order the following items
- Burgers
- Fries
- Drinks.
The user will be able to see the order history and the counter for total number of burgers, fries, and drinks.
Example: User enters "I would like to order a burger and fries" -> an order of 1 burger and 1 fries will be created and the burger count and fries count will be updated.
To setup the frontend navigate to the frontend directory and run the following commands:
- npm install
- npm run dev
To setup the backend navigate to the backend follow the steps below.
- Create a virtual environment. [python3 -m venv myvenv]
- Activate the virtual environment. [source myvennv/bin/activate]
- Install all dependencies. [Run command: poetry install]
- Create an env variable to hold the Open AI API key [export OPEN_AI_API_KEY = "your_key"]
- Finally run the app using the following command: poetry run python main.py
Here is a small demo of the app.
Demo1: Placing an order.
video.1.mp4
Demo2: Cancelling the order.