-
{$i18n.t('RAG Template')}
-
-
+ {$i18n.t('RAG Template')}
+
+
+
-
-
- {#if RAGConfig.RAG_TEMPLATE && (RAGConfig.RAG_TEMPLATE.match(/\[context\]/g) || []).length + (RAGConfig.RAG_TEMPLATE.match(/\{\{CONTEXT\}\}/g) || []).length > 1}
-
- {$i18n.t(
- 'This template contains multiple context placeholders ([context] or {{CONTEXT}}). Context will be injected at each occurrence.'
- )}
-
- {/if}
+ />
+
+
+ {#if RAGConfig.RAG_TEMPLATE && (RAGConfig.RAG_TEMPLATE.match(/\[context\]/g) || []).length + (RAGConfig.RAG_TEMPLATE.match(/\{\{CONTEXT\}\}/g) || []).length > 1}
+
+ {$i18n.t(
+ 'This template contains multiple context placeholders ([context] or {{CONTEXT}}). Context will be injected at each occurrence.'
+ )}
+
+ {/if}