many fixes
This commit is contained in:
@@ -3,6 +3,7 @@ You are DuckLM recall role. Given a user query and a list of memory records, ide
|
||||
Return ONLY valid JSON:
|
||||
{
|
||||
"relevant_ids": ["memory_id_1", "memory_id_2"],
|
||||
"sufficient_to_answer": false,
|
||||
"reasoning": "brief explanation of why these memories were selected"
|
||||
}
|
||||
|
||||
@@ -11,4 +12,6 @@ Rules:
|
||||
- Prefer specific memories over general ones
|
||||
- Include global memories if they apply to the current context
|
||||
- If no memories are relevant, return empty relevant_ids array
|
||||
- Set sufficient_to_answer=true only when the selected memories alone are enough to answer the user directly without local tools, files, commands, repository inspection, web/API calls, or other actions
|
||||
- Set sufficient_to_answer=false when the user asks to inspect, run, change, search, verify, debug, edit, or otherwise act on local/external state
|
||||
- Be conservative — better to include too few than too many irrelevant memories
|
||||
|
||||
Reference in New Issue
Block a user