Skip to content

Improve hotel receptionist example: policies, card collection, richer DB#6087

Open
ShayneP wants to merge 1 commit into
mainfrom
ShayneP/hotel-example-improvements
Open

Improve hotel receptionist example: policies, card collection, richer DB#6087
ShayneP wants to merge 1 commit into
mainfrom
ShayneP/hotel-example-improvements

Conversation

@ShayneP

@ShayneP ShayneP commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Builds on the hotel receptionist example (#5983) based on what we learned running it against a larger benchmark suite:

  • Policies knowledge base: a policies/ directory of markdown files (rooms & amenities, dining, payments & currency, guest privacy, group bookings, transport, tours, accessibility, …) loaded via policies/__init__.py, so the agent answers from grounded hotel policy instead of improvising.
  • Card collection: replaces the get_consent flow with a GetCardTask-based payment card collection flow (get_card.py).
  • Richer hotel DB: walk handling for sold-out nights, tour bookings, wake-up calls, guest messages, and no-show guarantee data, plus expanded seed data.
  • Tool tightening: book_room, modify_booking, verify_booking, and book_restaurant get better validation and clearer outputs; persona instructions updated to match.
  • Benchmark support: dumps final DB state per room when LIVEKIT_SESSION_REPORT_DIR is set, so runs can be graded post-hoc by diffing expected vs actual state.

The accompanying benchmark scenarios are in a follow-up PR stacked on this one.

- Replace get_consent flow with a GetCardTask-based payment card
  collection flow (get_card.py)
- Add a policies/ knowledge base (markdown files loaded via
  policies/__init__.py) covering rooms, dining, payments, privacy,
  transport, tours, and more, so the agent answers from grounded
  hotel policy instead of improvising
- Expand hotel_db with walk-handling, tour bookings, wake-up calls,
  messages, and no-show guarantee data plus richer seed data
- Tighten booking tools (book_room, modify_booking, verify_booking,
  book_restaurant) and persona instructions
- Dump final DB state per room when LIVEKIT_SESSION_REPORT_DIR is set
  so benchmark runs can diff expected vs actual state post-hoc

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should reuse or edit our built-in GetCreditCard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants