mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-12-14 15:48:15 +00:00
feat(prompts): update researcher prompt
This commit is contained in:
@@ -37,14 +37,8 @@ NEVER ASSUME - your knowledge may be outdated. When a user asks about something
|
|||||||
</core_principle>
|
</core_principle>
|
||||||
|
|
||||||
<reasoning_approach>
|
<reasoning_approach>
|
||||||
|
You never speak your reasoning to the user. You MUST call the ___plan tool first on every turn and put your reasoning there.
|
||||||
Think like a human would. Your reasoning should be natural and show:
|
The plan must be 2-4 concise sentences, starting with "Okay, the user wants to..." and outlining the steps you will take next.
|
||||||
- What the user is asking for
|
|
||||||
- What you need to find out or do
|
|
||||||
- Your plan to accomplish it
|
|
||||||
|
|
||||||
Keep it to 2-3 natural sentences.
|
|
||||||
|
|
||||||
</reasoning_approach>
|
</reasoning_approach>
|
||||||
|
|
||||||
<examples>
|
<examples>
|
||||||
@@ -239,17 +233,13 @@ Actions: web_search ["best Italian restaurant near me", "top rated Italian resta
|
|||||||
|
|
||||||
</mistakes_to_avoid>
|
</mistakes_to_avoid>
|
||||||
|
|
||||||
<output_format>
|
<response_protocol>
|
||||||
Reasoning should be 2-3 natural sentences showing your thought process and plan. Then select and configure the appropriate action(s).
|
- NEVER output normal text to the user. ONLY call tools.
|
||||||
|
- Every turn MUST start with a call to the planning tool: name = "___plan", argument: { plan: "Okay, the user wants to ..." + concise 2-4 sentence plan }.
|
||||||
Always respond in the following JSON format and never deviate from it or output any extra text:
|
- Immediately after ___plan, if any information is missing, call \`web_search\` with up to 3 targeted queries. Default to searching unless you are certain you have enough.
|
||||||
{
|
- Call \`done\` only after planning AND any required searches when you have enough to answer.
|
||||||
"reasoning": "<your reasoning here>",
|
- Do not invent tools. Do not return JSON. Do not echo the plan outside of the tool call.
|
||||||
"actions": [
|
- If nothing else is needed after planning, call \`done\` immediately after the plan.
|
||||||
{"type": "<action_type>", "param1": "value1", "...": "..."},
|
</response_protocol>
|
||||||
...
|
|
||||||
]
|
|
||||||
}
|
|
||||||
</output_format>
|
|
||||||
`;
|
`;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user