9 lines
258 B
HTML
9 lines
258 B
HTML
<script>
|
|
window.Bergamot.presets['{{ .Get "name" }}'] = {
|
|
rules: '{{ .Inner }}',
|
|
inputPrompt: '{{ .Get "prompt" }}',
|
|
query: '{{ .Get "query" }}',
|
|
renderPreset: '{{ default "default" (.Get "rendering") }}'
|
|
};
|
|
</script>
|