feat: editable rag template

This commit is contained in:
Timothy J. Baek committed 2024-02-17 22:41:03 -08:00
1 parent ccf08fb91e
commit 5270efa9e5
6 files changed
+122 -16

No files matched your search

+5 -1
View File
@@ -266,7 +266,11 @@
console.log(contextString);
history.messages[parentId].raContent = RAGTemplate(contextString, query);
history.messages[parentId].raContent = await RAGTemplate(
localStorage.token,
contextString,
query
);
history.messages[parentId].contexts = relevantContexts;
await tick();
processing = '';
+5 -1
View File
@@ -280,7 +280,11 @@
console.log(contextString);
history.messages[parentId].raContent = RAGTemplate(contextString, query);
history.messages[parentId].raContent = await RAGTemplate(
localStorage.token,
contextString,
query
);
history.messages[parentId].contexts = relevantContexts;
await tick();
processing = '';