Skip to content

KMdotcom/reserva

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restaurant AI Reservations

"The AI maître d’ that never sleeps."


What This Is

An AI-powered reservation system that answers, books, and manages restaurant reservations — automatically.
Think of it as a digital host that talks to customers, takes details, updates your database, and even sends confirmations — all in real time.


Why It Exists

Humans are great at hospitality.
AI is great at not forgetting who booked the 7PM window seat.

Every day, restaurants lose reservations because:

  • Staff can’t answer calls fast enough
  • Forms go unanswered
  • People hate waiting

So this project solves that by building a system that calls the customer within 5 seconds, chats naturally, and books the table instantly.


How It Works

  1. Customer submits a form → name, phone, time, party size
  2. AI instantly calls them using the Telnyx Voice API
  3. A natural conversation happens — the AI confirms details
  4. Databases update in real-time (leads.db + reservations.db)
  5. SMS confirmation sent — all within a minute

Tech Stack

Layer Technology
Frontend HTML (Jinja templates)
Backend Flask (Python 3.8+)
Voice & Telephony Telnyx Voice API
AI Engine OpenAI Realtime / Speech models
Databases SQLite (Leads + Reservations)
Deployment ngrok (for webhooks + testing)

Highlights

  • AI-driven natural language booking
  • Dual database architecture for analytics and auditing
  • Webhook event-driven voice responses
  • Fully automated reservation loop
  • Configurable via .env (no secrets in code)

Setup in 5 Minutes

# Clone the repository
git clone https://github.com/KMdotcom/restaurant-ai-reservations
cd restaurant-ai-reservations

# Create and activate a virtual environment
python -m venv venv
source venv/bin/activate   # Windows: venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

# Run the app
uvicorn app:app --reload

# Open in browser
http://127.0.0.1:8000

About

Restaurant Lead based reservation system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors