2023-12-27 23:31:00 -08:00
|
|
|
<script>
|
2024-09-15 15:39:46 -07:00
|
|
|
window.addEventListener('load', function() {
|
|
|
|
window.Bergamot.presets['{{ .Get "name" }}'] = {
|
|
|
|
rules: '{{ .Inner }}',
|
|
|
|
inputPrompt: '{{ .Get "prompt" }}',
|
|
|
|
query: '{{ .Get "query" }}',
|
|
|
|
renderPreset: '{{ default "default" (.Get "rendering") }}'
|
|
|
|
};
|
|
|
|
});
|
2023-12-27 23:31:00 -08:00
|
|
|
</script>
|