You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/module/patternfly-docs/content/extensions/chatbot/design-guidelines.md
+34-1Lines changed: 34 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,7 @@ The following actions can be used for some of the most common interactions:
88
88
1.**Feedback (good response):** Applies a positive rating to the message.
89
89
1.**Feedback (bad response):** Applies a negative rating to the message.
90
90
1.**Copy:** Copies the message content to the clipboard.
91
+
1.**Download:** Downloads the chat message. [Learn more about downloading chat transcripts](#downloading-chat-transcripts).
91
92
1.**Listen:** Reads the message content out loud.
92
93
93
94
You can also use [custom message actions](/patternfly-ai/chatbot/messages#custom-message-actions) as needed for your particular use case. When using custom actions, be sure to add a tooltip that describes the effect that the action will have. For more information, view [our tooltips guidelines](/ux-writing/tooltips).
@@ -340,6 +341,38 @@ If a message attachment fails, an error message should share the reason for fail
340
341

341
342
</div>
342
343
344
+
### Downloading chat transcripts
345
+
346
+
You can enable users to download chat transcripts, for their personal records or to share with others. When users choose to download a transcript, you can choose how you want to configure the behavior in your ChatBot.
347
+
348
+
For guidance, refer to our download transcripts demo, which opens a Markdown file for a conversation within a new tab.
349
+
350
+
Choose the download action location that best works for your ChatBot:
351
+
352
+
#### Download via conversation history drawer
353
+
354
+
If your ChatBot uses a conversation history drawer, you can provide a download option in the [actions menu linked to a previous conversation](/patternfly-ai/chatbot/ui#drawer-with-conversation-actions).
355
+
356
+
<divclass="ws-docs-content-img">
357
+

358
+
</div>
359
+
360
+
#### Download message response action
361
+
362
+
To allow users to download individual bot messages, the message actions can include a download option.
363
+
364
+
<divclass="ws-docs-content-img">
365
+

366
+
</div>
367
+
368
+
#### Download control in header
369
+
370
+
If you don't use a conversation history drawer, you can place an option to download the transcript for the active chat within the header options menu.
371
+
372
+
<divclass="ws-docs-content-img">
373
+

374
+
</div>
375
+
343
376
## Variations
344
377
345
378
### Display modes
@@ -400,4 +433,4 @@ For guidance on writing ChatBot content, refer to our [conversation design guide
400
433
401
434
## Accessibility
402
435
403
-
Although accessibility has been integrated into the design of our ChatBot components, it is important to ensure that your implementation is inclusive of all users. For more guidance, refer to [our accessibility guidelines](/accessibility/about-accessibility).
436
+
Although accessibility has been integrated into the design of our ChatBot components, it is important to ensure that your implementation is inclusive of all users. For more guidance, refer to [our accessibility guidelines](/accessibility/about-accessibility).
0 commit comments