configure system prompt with json
This commit is contained in:
8
configs/route_sys_prompts.json
Normal file
8
configs/route_sys_prompts.json
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user