Back to .md Directory

Restaurant Configuration Guide

Documents a JSON configuration schema for an AI restaurant booking system, enabling customization of brand voice, menu, hours, and policies without code changes.

May 2, 2026
0 downloads
0 views
ai
View source

What this file does

Documents a JSON configuration schema for an AI restaurant booking system, enabling customization of brand voice, menu, hours, and policies without code changes.

When to use it

  • Customizing an AI booking system for a specific restaurant
  • Setting up brand voice and conversation tone for a restaurant chatbot
  • Defining menu items, dietary tags, and pricing for a booking system
  • Configuring operating hours and reservation policies in a restaurant app

Assumes this stack

JSONJavaScript

Restaurant Configuration Guide

πŸͺ Easy Customization for Any Restaurant

The AI booking system now uses JSON-based configuration, making it simple for any restaurant to customize the system for their specific needs.

πŸ“‹ Quick Setup

1. Use Pre-Built Templates

// In browser console
downloadSampleConfig('italian')  // Download Italian restaurant config
downloadSampleConfig('mexican')  // Download Mexican restaurant config  
downloadSampleConfig('french')   // Download French restaurant config
downloadSampleConfig('american') // Download American restaurant config

2. Customize Your Configuration

Edit the config/restaurant-config.json file with your restaurant's information:

{
  "restaurant": {
    "basic_info": {
      "name": "Your Restaurant Name",
      "description": "Your restaurant description",
      "cuisine": "Your cuisine type",
      "price_range": "$ | $$ | $$$ | $$$$"
    }
  }
}

3. Deploy and Test

  • Upload your custom config file
  • Reload the page
  • The AI will automatically use your restaurant's information!

πŸ”§ Configuration Sections

Basic Information

"basic_info": {
  "name": "Mario's Italian Bistro",
  "description": "Authentic Italian cuisine in elegant atmosphere",
  "established": "1985",
  "cuisine": "Italian", 
  "price_range": "$$-$$$",
  "capacity": 80,
  "avg_dining_time_minutes": 90,
  "reservation_window_days": 60,
  "walk_ins_welcome": true
}

Operating Hours

"hours": {
  "monday": "11:00 AM - 10:00 PM",
  "tuesday": "11:00 AM - 10:00 PM",
  "wednesday": "11:00 AM - 10:00 PM",
  "thursday": "11:00 AM - 10:00 PM", 
  "friday": "11:00 AM - 11:00 PM",
  "saturday": "10:00 AM - 11:00 PM",
  "sunday": "10:00 AM - 10:00 PM"
}

Contact Information

"contact": {
  "phone": "(555) 123-4567",
  "email": "info@restaurant.com",
  "website": "www.restaurant.com",
  "address": {
    "street": "123 Main Street",
    "city": "Your City",
    "state": "ST",
    "zip": "12345"
  }
}

Menu Items

"menu": {
  "appetizers": [
    {
      "name": "Bruschetta Trio",
      "price": "$12", 
      "description": "Toasted bread with fresh toppings",
      "dietary_tags": ["vegetarian"],
      "popular": true,
      "chef_recommendation": false
    }
  ],
  "mains": [
    {
      "name": "Signature Pasta",
      "price": "$19",
      "description": "Our chef's special pasta creation",
      "dietary_tags": ["gluten-free available"],
      "popular": true,
      "chef_recommendation": true
    }
  ]
}

Restaurant Policies

"policies": {
  "reservations": {
    "policy": "Reservations recommended for parties of 4+",
    "advance_booking": "Up to 60 days in advance"
  },
  "cancellation": {
    "policy": "24-hour notice preferred"
  },
  "dress_code": {
    "policy": "Smart casual",
    "restrictions": "No shorts or flip-flops for dinner"
  },
  "children": {
    "policy": "Children welcome with kids menu available"
  },
  "accessibility": {
    "policy": "Fully wheelchair accessible"
  }
}

Brand Voice & Personality

"conversation_settings": {
  "brand_voice": {
    "tone": "warm, professional, knowledgeable",
    "personality": "friendly Italian hospitality"
  },
  "default_responses": {
    "greeting": [
      "Buongiorno! Welcome to {restaurant_name}!",
      "Hello! How can I assist you today?"
    ]
  }
}

🎯 Dietary Tags Available

  • "vegetarian"
  • "vegan"
  • "gluten-free"
  • "dairy-free"
  • "keto"
  • "halal"
  • "kosher"
  • "nut-free"

🏷️ Price Range Guide

  • "$" - Budget-friendly ($5-15 per entrΓ©e)
  • "$$" - Moderate ($15-25 per entrΓ©e)
  • "$$$" - Upscale ($25-40 per entrΓ©e)
  • "$$$$" - Fine dining ($40+ per entrΓ©e)

🎨 Cuisine Types

  • Italian, Mexican, French, American, Chinese, Japanese, Thai, Indian, Mediterranean, Steakhouse, Seafood, Vegetarian, Farm-to-Table, Fusion, etc.

πŸš€ Quick Start Examples

Italian Restaurant

{
  "restaurant": {
    "basic_info": {
      "name": "Nonna's Kitchen",
      "cuisine": "Italian",
      "description": "Family recipes passed down for generations"
    },
    "conversation_settings": {
      "brand_voice": {
        "tone": "warm, family-oriented, authentic",
        "personality": "Italian grandmother's hospitality"
      }
    }
  }
}

Mexican Cantina

{
  "restaurant": {
    "basic_info": {
      "name": "Fiesta Mexicana",
      "cuisine": "Mexican", 
      "description": "Vibrant flavors and festive atmosphere"
    },
    "conversation_settings": {
      "brand_voice": {
        "tone": "festive, energetic, welcoming",
        "personality": "Mexican celebration and warmth"
      }
    }
  }
}

Fine Dining French

{
  "restaurant": {
    "basic_info": {
      "name": "Le Petit ChΓ’teau",
      "cuisine": "French",
      "description": "Exquisite French cuisine with modern techniques"
    },
    "conversation_settings": {
      "brand_voice": {
        "tone": "elegant, sophisticated, refined", 
        "personality": "French culinary artistry"
      }
    }
  }
}

πŸ› οΈ Testing Your Configuration

Browser Console Commands

// Test your configuration
restaurantApp.getStatus()

// Validate configuration
configLoader.validateConfig(configLoader.getConfig())

// Test conversation with your settings
restaurantApp.processTextConversation("Hello, I'd like to make a reservation")

// Download sample configurations
downloadSampleConfig('italian')

Sample Conversations to Test

  1. "Hi, what kind of food do you serve?"
  2. "I'd like a table for 4 tonight at 7 PM"
  3. "Do you have vegetarian options?"
  4. "What are your hours?"
  5. "Can I make a reservation for my anniversary?"

πŸ“¦ Distribution Ready

For Restaurant Owners

  1. Copy the system files
  2. Replace config/restaurant-config.json with your restaurant's info
  3. Upload to your web server
  4. Your custom AI booking system is ready!

For Developers

  1. Clone the system
  2. Use RestaurantConfigGenerator to create configurations
  3. Customize conversation patterns if needed
  4. Deploy for multiple restaurants

🎯 Benefits

Easy Customization

  • No code changes required
  • Simple JSON editing
  • Visual configuration tools

Brand Consistency

  • Custom greetings and responses
  • Restaurant-specific language and tone
  • Cuisine-appropriate terminology

Complete Information

  • Full menu with prices and descriptions
  • Accurate policies and hours
  • Contact and location details

Scalable Distribution

  • One codebase, multiple restaurants
  • Configuration templates for common types
  • Quick deployment and updates

πŸŽ‰ Your restaurant's AI booking system can now be completely customized with just JSON configuration files!

What's inside

8 configuration sections, 4 sample templates, 5 browser console commands, and a dietary tags list

Change this for your project

  • Replace "name": "Mario's Italian Bistro" with your restaurant name
  • Replace "phone": "(555) 123-4567" with your phone number
  • Replace "street": "123 Main Street" with your address
  • Replace "email": "info@restaurant.com" with your email

Where it goes

Keep it in your repository where the agent or team that needs it will read it.

Worth borrowing

  • Separating brand voice and personality into a dedicated JSON section for easy tone customization
  • Providing pre-built cuisine-specific templates as starting points for different restaurant types

Related Documents