configure system prompt with json

This commit is contained in:
2025-10-27 17:34:49 +08:00
parent 5822c4a572
commit 4bab1bad0b
2 changed files with 41 additions and 6 deletions

View File

@@ -0,0 +1,8 @@
{ // Prompt for router; manditory to say return as json for route_prompt; if not, there will be bugs
"route_prompt" : "Return a JSON object with 'step'.the value should be one of 'chat' or 'order' based on the user input",
// Prompt for tool branch
"tool_prompt" : "You must use tool to complete the possible task"
// Optionally set chat_prompt to overwrite the system prompt from xiaozhi
}