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
content="This example has a body description that's longer than the recommended limit of 2 lines, with a link to load the rest of the description:"
47
+
sources={{
48
+
sources: [
49
+
{
50
+
title: 'Getting started with Red Hat OpenShift',
51
+
link: '#',
52
+
body: 'Red Hat OpenShift on IBM Cloud is a managed offering to create your own cluster of compute hosts where you can deploy and manage containerized apps on IBM Cloud.',
53
+
hasShowMore: true
54
+
},
55
+
{
56
+
title: 'Azure Red Hat OpenShift documentation',
57
+
link: '#',
58
+
body: 'Microsoft Azure Red Hat OpenShift allows you to deploy a production ready Red Hat OpenShift cluster in Azure.',
59
+
hasShowMore: true
60
+
},
61
+
{
62
+
title: 'OKD Documentation: Home',
63
+
link: '#',
64
+
body: 'OKD is a distribution of Kubernetes optimized for continuous application development and multi-tenant deployment. OKD also serves as the upstream code base upon.',
Copy file name to clipboardExpand all lines: packages/module/patternfly-docs/content/extensions/chatbot/examples/Messages/Messages.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,7 +144,7 @@ If you are using Retrieval-Augmented Generation, you may want to display sources
144
144
145
145
If a source will open outside of the ChatBot window, add an external link icon via `isExternal`.
146
146
147
-
The API for a source requires a link at minimum, but we strongly recommend providing a more descriptive title and body description so users have enough context. The title is limited to 1 line and the body is limited to 2 lines.
147
+
The API for a source requires a link at minimum, but we strongly recommend providing a more descriptive title and body description so users have enough context. For the best clarity and readability, we strongly recommend limiting the title to 1 line and the body to 2 lines. If the body description is more than 2 lines, use the "long sources" or "very long sources" variant.
body: 'Red Hat OpenShift on IBM Cloud is a managed offering to create your own cluster of compute hosts where you can deploy and manage containerized apps on IBM Cloud ...',
229
+
hasShowMore: true
230
+
},
231
+
{
232
+
title: 'Azure Red Hat OpenShift documentation',
233
+
link: '#',
234
+
body: 'Microsoft Azure Red Hat OpenShift allows you to deploy a production ready Red Hat OpenShift cluster in Azure ...'
235
+
},
236
+
{
237
+
title: 'OKD Documentation: Home',
238
+
link: '#',
239
+
body: 'OKD is a distribution of Kubernetes optimized for continuous application development and multi-tenant deployment. OKD also serves as the upstream code base upon ...'
0 commit comments