# Example dialog

In this Hospitality use case, the user wants to make a restaurant reservation. The bot helps them do this by collecting the relevant information.

`Bot: I can help you make a reservation. Okay, so you’re looking for a reservation at Bella Italia, at 7pm tonight, is that right?`

`User: Yes.`

`Bot: Great. How many people will there be?`

`User: Four people`.

`Bot: Okay, a reservation for four at 7pm tonight at Bella Italia. Let me check with them.`

`[Bot checks availability]`

`Bot: It looks like there is nothing available then, but there is an opening at 7:30pm. How does that sound?`

`User: That works.`

`Bot: I can book it for you, using the same name as your hotel reservation, Jason Bourne. Shall I book it for you?`

`User: Yes.`

`[Bot books the reservation]`

`Bot: Done! You’re booked for a table for four at 7:30pm tonight at Bella Italia.`

`User: Oh, one question. Does Bella Italia have gluten free options?`

`Bot: Unfortunately, I don’t know the details of their menu, but I can call them for you if you’d like to ask directly. Shall I do that?`

`User: Yes please.`

`Bot: Sure thing, one second.`

This sample interaction includes direct information collection (How many people?), as well as repair (nothing available at requested time), and a transfer when the user asks a question the bot cannot answer. The information collection process is central to booking the reservation, but the associated patterns of repair and transfer are key to successfully managing the interaction.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.opendialog.ai/opendialog-platform/conversation-designer/conversation-design/conversational-patterns/information-collection/example-dialog.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
