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/virtual-assistant/examples/ChatbotMessage/BotMessage.tsx
Copy file name to clipboardExpand all lines: packages/module/patternfly-docs/content/extensions/virtual-assistant/examples/ChatbotMessage/ChatbotMessage.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,9 @@ import Message from '@patternfly/virtual-assistant/dist/dynamic/Message';
22
22
import PreviewAttachment from '@patternfly/virtual-assistant/dist/dynamic/PreviewAttachment';
23
23
import AttachmentEdit from '@patternfly/virtual-assistant/dist/dynamic/AttachmentEdit';
24
24
import SourcesCard from '@patternfly/virtual-assistant/dist/dynamic/SourcesCard';
25
-
import customImage from './custom_user_img.jpeg';
26
25
import { RobotIcon } from '@patternfly/react-icons/dist/esm/icons/robot-icon';
26
+
import patternflyAvatar from './patternfly_avatar.jpg';
27
+
import userAvatar from './user_avatar.jpg';
27
28
28
29
The `content` prop of the `<Message>` component is passed to a `<Markdown>` component (from [react-markdown](https://remarkjs.github.io/react-markdown/)), which is configured to translate plain text strings into PatternFly [`<Content>` components](/components/content) and code blocks into PatternFly [`<CodeBlock>` components.](/components/code-block)
29
30
@@ -77,7 +78,7 @@ You can add actions to a message, to allow users to interact with the message co
77
78
78
79
### Messages with sources
79
80
80
-
If you are using Retrieval-Augmented Generation, you may want to display sources in a message. Passing `sources` to `<Message>` allows you to paginate between the sources you provide.
81
+
If you are using Retrieval-Augmented Generation, you may want to display sources in a message. Passing `sources` to `<Message>` allows you to paginate between the sources you provide.
81
82
82
83
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.
Copy file name to clipboardExpand all lines: packages/module/patternfly-docs/content/extensions/virtual-assistant/examples/ChatbotMessage/MessageWithAttachment.tsx
Copy file name to clipboardExpand all lines: packages/module/patternfly-docs/content/extensions/virtual-assistant/examples/ChatbotMessage/MessageWithResponseActions.tsx
Copy file name to clipboardExpand all lines: packages/module/patternfly-docs/content/extensions/virtual-assistant/examples/ChatbotMessage/MessageWithSources.tsx
Copy file name to clipboardExpand all lines: packages/module/patternfly-docs/content/extensions/virtual-assistant/examples/ChatbotMessage/UserMessage.tsx
Copy file name to clipboardExpand all lines: packages/module/patternfly-docs/content/extensions/virtual-assistant/examples/demos/ChatbotAttachmentMenu.tsx
0 commit comments