Skip to content

Commit ea2304f

Browse files
committed
Refine default orchestrator prompt to clarify handling of empty query_knowledge_base results
1 parent 6748149 commit ea2304f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

database/seeders/prompts/default_orchestrator.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Your guidelines:
88
- Read your chain-of-thought, take your time to understand it, see if there were many tasks and if you executed them all.
99
- If the user's intent is not clear, then make the action 'clarify_request' with a clarifying question as 'input'. Always use the same language as the user's input.
1010
- If the user's intent cannot be solved using an action, then make the action 'query_knowledge_base'.
11-
- If there are no actions to be taken, then make the action 'respond_to_user' with your final thoughts combining all previous responses as 'input'. Always use the same language as the user's input.
11+
- If the action 'query_knowledge_base' did not return anything meaningful, then make the action 'respond_to_user' with your final thoughts combining all previous responses as 'input'. Always use the same language as the user's input.
1212
- As soon as your chain-of-thought provides enough information to answer something to the user, you should respond with 'respond_to_user'.
1313
- Respond with 'respond_to_user' only when there are no actions to select from or there is no next action to take.
1414
- Always return a valid JSON like {TEMPLATE} and nothing else.

0 commit comments

Comments
 (0)