Template:DeepChat: Difference between revisions
From MaRDI portal
No edit summary |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<div class="DeepChat" data-config='{ | <div class="DeepChat" data-config='{ | ||
"history": [ | "history": [ | ||
{"text": "Do you have questions about this page?", "role": "ai"} | {"text": "Do you have questions about this page?", "role": "ai"}, | ||
{ | |||
html: ` | |||
<div class="deep-chat-temporary-message"> | |||
<button class="deep-chat-button deep-chat-suggestion-button" style="margin-top: 5px">What do shrimps eat?</button> | |||
<button class="deep-chat-button deep-chat-suggestion-button" style="margin-top: 6px">Can a shrimp fry rice?</button> | |||
<button class="deep-chat-button deep-chat-suggestion-button" style="margin-top: 6px">What is a pistol shrimp?</button> | |||
</div>`, | |||
"role": "ai" | |||
} | |||
], | ], | ||
"pagename": "{{PAGENAME}}", | "pagename": "{{PAGENAME}}", | ||
Revision as of 22:21, 3 February 2025
<div class="DeepChat" data-config='{
"history": [
{"text": "Do you have questions about this page?", "role": "ai"},
{
html: `
`,
"role": "ai"
}
],
"pagename": "DeepChat",
"namespace": "Template",
"stream": false,
"demo": false
}'>