aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/chatbot/tools
diff options
context:
space:
mode:
authorA.J. Shulman <Shulman.aj@gmail.com>2025-07-07 15:20:10 -0400
committerA.J. Shulman <Shulman.aj@gmail.com>2025-07-07 15:20:10 -0400
commit95c0d9b0ed3cf8bf50f3a3eac2f1dff146ba131c (patch)
tree02de64af401a6d329bfa74cff2e26107a28dff79 /src/client/views/nodes/chatbot/tools
parent9e6aab5ad47b8392cd0b7fbfd3c20bb746637536 (diff)
merge issues
Diffstat (limited to 'src/client/views/nodes/chatbot/tools')
-rw-r--r--src/client/views/nodes/chatbot/tools/RAGTool.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/chatbot/tools/RAGTool.ts b/src/client/views/nodes/chatbot/tools/RAGTool.ts
index b0150868e..7394e175c 100644
--- a/src/client/views/nodes/chatbot/tools/RAGTool.ts
+++ b/src/client/views/nodes/chatbot/tools/RAGTool.ts
@@ -66,6 +66,7 @@ const ragToolInfo: ToolInfo<RAGToolParamsType> = {
- Use as many citations as possible (even when one would be sufficient), thus keeping text as grounded as possible.
- When using text citations, keep the EXACT TEXT FROM THE CHUNK—WORD FOR WORD—DO NOT EMIT ANYTHING OR ADD ANYTHING. DO NOT PARAPHRASE! DO NOT CITE TEXT CONTENT FROM A TABLE OR IMAGE—INSTEAD CITE THE TABLE OR IMAGE ITSELF!
- Cite from as many documents as possible and always use MORE, and as granular, citations as possible.
+ - If you see a table in an image of another table (it is on the same page, but not the table that is circled in red), use the RAG tool again and specifically try to search for that table by using, as the hypothetical_document_chunk, a summary of the table you are trying to find. DO NOT JUST CITE THE TABLE IN RED ON THE SAME PAGE!
- CITATION TEXT MUST BE EXACTLY AS IT APPEARS IN THE CHUNK. DO NOT PARAPHRASE!`,
parameterRules: ragToolParams,
};