Skip to content

Commit 359b293

Browse files
authored
docs(design-guidelines): Adds confirmation pattern. (#560)
1 parent 965d44d commit 359b293

File tree

2 files changed

+77
-0
lines changed

2 files changed

+77
-0
lines changed

packages/module/patternfly-docs/content/extensions/chatbot/design-guidelines.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,16 @@ Each time a user begins a new conversation, display a [welcome message, with pro
261261

262262
As much as possible, the suggested prompts should consider the user’s location in the service or application, or the situation their project is undergoing.
263263

264+
### Executing user requests
265+
266+
Instead of automatically initiating what sounds like a request from a user, the ChatBot should ask users to confirm or deny their intent. This differentiates moments where users are simply asking about feasibility, rather than actually making a request.
267+
268+
This can be done using the [quick response](/patternfly-ai/chatbot/messages#messages-with-quick-responses) buttons:
269+
270+
<div class="ws-docs-content-img">
271+
![Confirmation options from a bot in response to a user's request.](./img/quick-response-confirmation.svg)
272+
</div>
273+
264274
### Using the conversation history menu
265275

266276
The ChatBot history menu contains a log of a users' previous chats. Clicking the menu icon opens a side drawer in the ChatBot window.

0 commit comments

Comments
 (0)