2023-11-29 22:29:14 -08:00
|
|
|
<div id="{{ .Get "id" }}"></div>
|
|
|
|
<script>
|
2023-12-30 19:54:42 -08:00
|
|
|
window.addEventListener('load', function() {
|
2024-09-15 19:49:37 -07:00
|
|
|
window.Bergamot.run(null, '{{ .Get "id" }}',
|
|
|
|
{{ partial "bergamotparseinputmodes.js" (.Get "modes") | safeJS }},
|
|
|
|
'{{ .Get "prompt" }}', '{{ .Inner }}', '{{ default "default" (.Get "rendering") }}', '{{ .Get "query" }}');
|
2023-12-30 19:54:42 -08:00
|
|
|
});
|
2023-11-29 22:29:14 -08:00
|
|
|
</script>
|