> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thinnest.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Restaurant Reservation Agent

> Restaurant booking agent with voice cloning for brand personality, multilingual support, holiday-aware scheduling, emotion-aware TTS, and greeting A/B testing.

# Restaurant Reservation Agent

A restaurant booking voice agent with a distinctive brand voice. Uses **voice cloning** to match the restaurant's personality, **multilingual support** for diverse diners, **holiday calendar** awareness for special menus and closures, **emotion-aware TTS** for warm hospitality, and **greeting A/B testing** to optimize caller engagement.

## Voice Features Used

| Feature                                                          | Purpose                                                  |
| ---------------------------------------------------------------- | -------------------------------------------------------- |
| [Voice Cloning](/docs/voice/tools/voice-cloning)                 | Custom brand voice matching the restaurant's personality |
| [Real-Time Translation](/docs/voice/tools/real-time-translation) | Serve international diners in their language             |
| [Holiday Calendar](/docs/voice/tools/call-features)              | Aware of holidays, special menus, and closures           |
| [Emotion-Aware TTS](/docs/voice/tools/emotion-tts)               | Warm, hospitable tone adaptation                         |
| [Greeting Variants](/docs/voice/tools/call-features)             | A/B test different openers for engagement                |
| [Conversational Memory](/docs/voice/tools/call-features)         | Remember regular diners' preferences                     |
| [Appointment Booking](/docs/voice/tools/appointment-booking)     | Schedule reservations with table assignment              |
| [SMS Mid-Call](/docs/voice/tools/sms-mid-call)                   | Send reservation confirmations via text                  |
| [Post-Call Follow-Up](/docs/voice/tools/post-call-follow-up)     | Email confirmation with menu preview                     |

## How It Works

```
Caller: "Hi, I'd like to make a reservation for Saturday."
-> Memory check: recognized as regular diner
-> A/B greeting selected
Agent: "Buonasera, Marco! Welcome back to Trattoria Bella. Your usual corner table?"
Caller: "Yes, but we'll be six this time."
Agent: "Perfect — Saturday at 7:30 PM for six. It's also our Truffle Festival weekend, so Chef has a special tasting menu. Shall I reserve that?"
Caller: "Absolutely!"
-> book_appointment for Saturday 7:30 PM, party of 6
-> SMS confirmation sent with reservation details
-> Follow-up email with tasting menu preview
```

## Configuration

```json theme={null}
{
  "voiceCloningEnabled": true,
  "voiceCloningProvider": "elevenlabs",
  "voiceCloningVoiceId": "custom_trattoria_host",
  "emotionEnabled": true,
  "multilingualEnabled": true,
  "multilingualLanguages": ["en", "it", "es", "fr"],
  "multilingualAutoDetect": true,
  "greetingVariantsEnabled": true,
  "greetingVariants": [
    "Buonasera! Welcome to Trattoria Bella. How may I help you?",
    "Good evening! Thank you for calling Trattoria Bella. Table for tonight?",
    "Welcome to Trattoria Bella! Ready to book your next unforgettable meal?"
  ],
  "conversationalMemoryEnabled": true,
  "memoryMaxPreviousCalls": 15,
  "holidayCalendarEnabled": true,
  "holidayCalendarRegion": "US",
  "appointmentBookingEnabled": true,
  "appointmentDuration": 90,
  "appointmentConfirmationSms": true
}
```

## Example — Create Agent

```bash theme={null}
curl -X POST https://api.thinnest.ai/v1/agents \
  -H "Authorization: Bearer $THINNESTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Restaurant Reservation Agent",
    "model": "gpt-4o",
    "instructions": "You are the voice of Trattoria Bella restaurant. Greet callers warmly, remember regular diners, suggest specials, and book reservations. Be hospitable and knowledgeable about the menu.",
    "voiceEnabled": true,
    "transcriber": { "provider": "deepgram", "model": "nova-2-conversationalai" },
    "voice": { "provider": "elevenlabs", "voiceId": "custom_trattoria_host" },
    "voiceCloningEnabled": true,
    "emotionEnabled": true,
    "multilingualEnabled": true,
    "multilingualAutoDetect": true,
    "greetingVariantsEnabled": true,
    "greetingVariants": [
      "Buonasera! Welcome to Trattoria Bella. How may I help you?",
      "Good evening! Thank you for calling Trattoria Bella."
    ],
    "conversationalMemoryEnabled": true,
    "memoryMaxPreviousCalls": 15,
    "holidayCalendarEnabled": true,
    "appointmentBookingEnabled": true,
    "appointmentDuration": 90,
    "appointmentConfirmationSms": true,
    "smsMidCallEnabled": true,
    "postCallFollowUpEnabled": true,
    "postCallFollowUpType": "email",
    "recordingEnabled": true
  }'
```
