File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {% extends "!base.html" %}
2+
3+ {%- block scripts %}
4+ {{ super() }}
5+
6+ <!-- OSA Chat Widget (HED Assistant) -->
7+ < script src ="https://osa-demo.pages.dev/osa-chat-widget.js "
8+ crossorigin ="anonymous "> </ script >
9+ < script >
10+ if ( window . OSAChatWidget ) {
11+ OSAChatWidget . setConfig ( {
12+ communityId : 'hed' ,
13+ title : 'HED Assistant' ,
14+ initialMessage : 'Hi! I can help with using the Python HEDTools. What would you like to know?' ,
15+ placeholder : 'Ask about HED...' ,
16+ suggestedQuestions : [
17+ 'How do I install the Python HEDTools?' ,
18+ 'How do I validate a HED string using the Python HEDTools?' ,
19+ 'How do I run the HEDTools hedpy command line tool?' ,
20+ 'What tools are available?'
21+ ] ,
22+ widgetInstructions : 'User is on the Python HEDTools documentation most likely looking for how to use these tools' ,
23+ showExperimentalBadge : true ,
24+ allowPageContext : true ,
25+ pageContextDefaultEnabled : true
26+ } ) ;
27+ }
28+ </ script >
29+ {%- endblock scripts %}
You can’t perform that action at this time.
0 commit comments