diff options
| author | A.J. Shulman <Shulman.aj@gmail.com> | 2025-07-07 14:39:06 -0400 |
|---|---|---|
| committer | A.J. Shulman <Shulman.aj@gmail.com> | 2025-07-07 14:39:06 -0400 |
| commit | 9092494778abd55b6aa299fe06b4f70e7c7a767f (patch) | |
| tree | 28aedb8db51224374e1a31d9557ffd28e1c7e8f9 /src/client/views/nodes/chatbot/tools/RAGTool.ts | |
| parent | 86c666427ff8b9d516450a150af641570e00f2d2 (diff) | |
changes (seeing if they work)
Diffstat (limited to 'src/client/views/nodes/chatbot/tools/RAGTool.ts')
| -rw-r--r-- | src/client/views/nodes/chatbot/tools/RAGTool.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/chatbot/tools/RAGTool.ts b/src/client/views/nodes/chatbot/tools/RAGTool.ts index af44de520..b0150868e 100644 --- a/src/client/views/nodes/chatbot/tools/RAGTool.ts +++ b/src/client/views/nodes/chatbot/tools/RAGTool.ts @@ -62,8 +62,9 @@ const ragToolInfo: ToolInfo<RAGToolParamsType> = { </answer> ***NOTE***: - - Prefer to cite visual elements (i.e. chart, image, table, etc.) over text, if they both can be used. Only if a visual element is not going to be helpful, then use text. Otherwise, use both! + - !!!IMPORTANT: Prefer to cite visual elements (i.e. table, chart, image etc.) over text, if they both can be used. Only if a visual element is not going to be helpful, then use text. Otherwise, use a visual element! - 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. - CITATION TEXT MUST BE EXACTLY AS IT APPEARS IN THE CHUNK. DO NOT PARAPHRASE!`, parameterRules: ragToolParams, |
