Welcome to the Daisy Hair Salon booking system! This is a smart application using AI to help customers easily book and manage appointments at our salon.
- π€ Intelligent AI assistant to interact with customers
- π Integration with Google Calendar for appointment management
- β° Check and display available time slots
- π Create, view, and cancel appointments easily
- π£οΈ Support for English communication
- π Friendly and natural communication with customers
- Python 3.11
- LangChain for creating AI agent
- Google Generative AI (Gemini 1.5 Flash model)
- Google Calendar API for appointment management
- Poetry for dependency management
- Docker for containerization (if deployment is needed)
bookinggpt/
βββ agent/
β βββ __init__.py
β βββ booking_agent.py
β βββ prompt.py
βββ tool/
β βββ __init__.py
β βββ available_event.py
β βββ cancel_event.py
β βββ create_event.py
βββ __init__.py
βββ utils.py
tests/
βββ __init__.py
βββ test_available_event.py
βββ test_cancel_event.py
βββ test_create_event.py
βββ test_output_parser.py
βββ test_tool_output.py
main.py
README.md
.env
.gitignore
Dockerfile
pyproject.toml
requirements.txt
-
Clone the repository:
git clone https://github.com/your-username/daisy-hair-salon-booking.git cd daisy-hair-salon-booking
-
Install dependencies:
pip install -r requirements.txt
-
Configure environment variables in the
.env
file:GOOGLE_API_KEY=your_google_api_key_here
-
Run the application:
python main.py
-
Interact with the AI assistant to book appointments, check available time slots, or cancel appointments.
- To book an appointment: "I want to book a haircut tomorrow at 2 PM"
- To check available time slots: "Show me the available slots for this week"
- To cancel an appointment: "I want to cancel the appointment with booking code ABC123"
- Hair wash (20 minutes)
- Haircut (30 minutes)
- Hair styling (30 minutes)
- Beard trim (15 minutes)
- Hair coloring (60 minutes)
- Hair treatment (45 minutes)
- Scalp massage (15 minutes)
- Eyebrow shaping (10 minutes)
- Facial care (45 minutes)
- Manicure (30 minutes)
We welcome all contributions to improve this project. Please create a pull request or report issues if you have any ideas or encounter any problems.
This project is distributed under the MIT License. See the LICENSE
file for more details.
If you have any questions or suggestions, please contact us via email: [email protected]
Thank you for your interest in the Daisy Hair Salon Booking System! We hope this application will provide you with a wonderful booking experience. πβ¨