Giter VIP home page Giter VIP logo

boba-shop's Introduction

AI Order System for Boba Tea House

Project Description

The AI Order System for Boba Tea House is a project that utilizes the OpenAI API to create an AI agent capable of handling customer orders. The goal is to reduce labor costs and streamline the ordering process for the Boba tea house. The AI agent responds to customer requests, collects order information, and provides concise answers while maintaining a friendly and helpful tone.

Demo

image

Installation

To use the AI Order System, follow these installation steps:

  1. Clone the repository to your local machine.

  2. Create a virtual environment and activate it.

  3. Install the required dependencies by running the following command:

    pip install -r requirements.txt
  4. Modify a .env file in the project directory and set your OpenAI API key:

    OPENAI_API_KEY=your_api_key_here
  5. Run the application using the provided script.

    python app.py

Usage

The AI Order System follows these steps to collect and format customer orders:

  1. Greet the customer and ask what they would like to order.
  2. Collect the drink order from the customer.
  3. Ask if the customer wants their drink cold or hot (if hot option is available).
  4. Collect additional order details, including quantity, ice level, sweetness level, and drink size.
  5. Repeat the customer's order for confirmation.
  6. Inform the customer of the total order amount and display the product order formatting.

You can also recommend drinks such as Honey Green Tea and Brown Sugar Milk Tea if the customer requests recommendations.

Files

utils.py

This file contains utility functions used in the AI Order System, including the system message and the steps for processing customer orders.

app.py

The main application file that interacts with the OpenAI API to process user messages, collect order information, and generate responses. It includes functions for moderation, message processing, and more.

Future work

  • Using whisper API to build a vocal interface
  • Implementing function call for order management
  • Latency research for optimizing response time

Contact Information

For questions or support related to the AI Order System, please contact:

We hope you enjoy using the AI Order System for Boba Tea House!

Reference

https://learn.deeplearning.ai/chatgpt-building-system/lesson/1/introduction

boba-shop's People

Contributors

p76071226 avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.