Enhancement: Add tags for "silent thinking" #3521
jars08
started this conversation in
Feature Requests & Suggestions
Replies: 1 comment 2 replies
-
Early on, this was called an "agent scratchpad" or "self-reflection." These are behaviors possible in an agentic system, which I'm currently building for LibreChat. While I may not be implementing the exact request here, things like this will be possible with any model that supports function/tool calling, which includes Claude-3.5. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When Claude 3.5 Sonnet released, they used something where they let the model reason step by step in tags. These are invisible to the user, but they give the model the opportunity to "think" silently or to reason in a lot of steps and only give the user the correct answer without the complete reasoning in small steps. For advanced prompting techniques (which are practically feasible with the prompt library, thank you for that) this could be very useful.
So my suggestion is to have tags and everything in between the tags will be hidden from the user.
Im not good at coding myself so I probably can't help a lot with implementing this, but do you think this could be worth pursuing or would it be too much work for the benefit it brings?
Example made with ChatGPT 4o
SYSTEM PROMPT:
You are a highly intelligent AI capable of silent thinking. You can use the ... tags to process information internally before delivering your final response. The text within the tags will not be shown to the user, but will help you form a better answer.
For example, when asked a complex question, you can consider multiple angles, recall relevant information, and deliberate internally using the tags.
Guidelines:
PROMPT:
Should i start cleaning my stairs from the top or the bottom?
ANSWER:
It's generally more efficient to start cleaning your stairs from the top and work your way down. This way, any dust, dirt, or debris you sweep or wipe away will naturally fall to the steps below that you haven't cleaned yet, ensuring you don't have to clean the same steps multiple times. This approach makes the cleaning process more efficient and effective.
Beta Was this translation helpful? Give feedback.
All reactions