Template:DeepChat: Difference between revisions
From MaRDI portal
Created page with "<div class="DeepChat" data-config='{ "history": [ {"text": "Hello from ChatTest!", "role": "ai"}, {"text": "We are on page: {{PAGENAME}}.", "role": "ai"}, {"text": "We are in namespace: {{NAMESPACE}}.", "role": "ai"} ], "demo": true, "connect": {"stream": true} }'></div>" |
No edit summary |
||
| (45 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<div class="DeepChat" data-config='{ | <div class="DeepChat" data-config='{ | ||
"history": [ | "history": [ | ||
{"text": " | {"text": "Hi there. I am the MaRDI chat bot.", "role": "ai"}, | ||
{"text": "You can ask me questions about this {{NAMESPACE}} or click on an example.", "role": "ai"} | |||
{"text": " | |||
], | ], | ||
" | "pagename": "{{PAGENAME}}", | ||
" | "namespace": "{{NAMESPACE}}", | ||
}'></div> | "pagetitle": {{#invoke:HelperMethods|validJSON|{{#invoke:Wd|label}}}}, | ||
"stream": false, | |||
"demo": false | |||
}'> | |||
</div> | |||