Chat about hotels
chat_about_hotelsConversational hotel search for natural-language requests, comparisons and subjective preferences. Slower than search_hotels. Requires signing in (a linked Parley account) or an API key.
Guest context (travel style, purpose, accessibility needs, loyalty
programs, dietary needs) can be passed in the context parameter as a
JSON object.
Clarifications: if a previous response included a
``clarification_pending`` payload, show the question to the user and
either pass ``clarification_id`` + ``clarification_option_id`` for the
chosen option, or pass the user's free-text answer in ``message`` and
leave the clarification params empty.
Args:
message: The user's message or question
session_id: Session id from a previous response to continue the conversation (empty for a new session)
currency: Currency code for prices (default EUR)
context: JSON object with guest context (empty to skip). Example: {"travel_style": "luxury", "purpose": "honeymoon", "accessibility": "wheelchair", "loyalty_programs": ["Marriott Bonvoy"], "dietary": "vegetarian"}
clarification_id: When replying to a prior clarification, the id from ``clarification_pending.clarification_id`` in that response.
clarification_option_id: When replying to a prior clarification, the id of the option the user selected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | ||
| message | Yes | ||
| currency | No | EUR | |
| session_id | No | ||
| clarification_id | No | ||
| clarification_option_id | No |