Skip to content

chandansoren/Food-Delivery-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Food-Delivery-Chatbot

Developed a conversational chatbot using GPT-3.5 Turbo and Chainlit for a food delivery service.

Table of Contents

Overview

Food-Delivery-Chatbot is an AI-powered conversational assistant designed to streamline food ordering and customer interactions for a food delivery service. Leveraging OpenAI's GPT-3.5 Turbo and Chainlit, this chatbot can handle user queries, take orders, provide restaurant recommendations, and manage order statuses in a natural, user-friendly way.

Features

  • Natural language understanding and conversation
  • Menu browsing and food ordering
  • Real-time order status updates
  • Restaurant and cuisine recommendations
  • Order history retrieval
  • Error handling and user guidance for edge cases
  • Easily extensible for new features

Setup and Installation

  1. Clone the repository

    git clone https://github.com/chandansoren/Food-Delivery-Chatbot.git
    cd Food-Delivery-Chatbot
  2. Create a virtual environment (optional but recommended)

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies

    pip install -r requirements.txt
  4. Set up environment variables

    • OPENAI_API_KEY: Your OpenAI API key for GPT-3.5 Turbo.
    • Any other relevant configuration (see Configuration).

    You can use a .env file for local development.

Usage

  1. Start the chatbot server

    python app.py

    Or, if using Chainlit:

    chainlit run app.py
  2. Interact with the chatbot

    • Access the chatbot via the provided web interface or integration point.
    • Start chatting to order food, ask for recommendations, or check order status.

Configuration

  • config.py or .env: Contains API keys and configuration options.
  • Supported settings:
    • OPENAI_API_KEY
    • Service endpoints
    • Menu data source paths

Project Structure

Food-Delivery-Chatbot/
├── app.py
├── requirements.txt
├── config.py / .env
├── chatbot/               # Core chatbot logic and modules
│   ├── __init__.py
│   ├── conversation.py
│   ├── order_management.py
│   └── ... 
├── data/                  # Menu and restaurant data
│   └── menu.json
└── README.md

Technologies Used

License

This project is licensed under the MIT License. See the LICENSE file for details.


Feel free to open issues or submit pull requests for improvements or new features!

About

Developed a conversational chatbot using GPT-3.5 Turbo and Chainlit for a food delivery service.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages