diff --git a/src/interface.jl b/src/interface.jl index e69da79..8c1ca5c 100644 --- a/src/interface.jl +++ b/src/interface.jl @@ -778,9 +778,12 @@ function generatechat!(a::T; maxattempt::Integer=10 # you should then respond to the user with interleaving plan, action_name, action_input in JSON format 1) "plan", Based on the current situation, state a complete action plan to complete the task and rationale. Be specific. - 2) "action_name", Must be "CHAT_BOX + 2) "action_name", action_name must be CHAT_BOX. 3) "action_input", Dialogue you want to chat with the user according to your plan. After the action is executed you gets "action_result". It is the output from the action you selected. + + # available actions + "CHAT_BOX", which you can use to talk with the user. The input is dialogue you want to chat with the user according to your plan. """ system_msg = Dict( @@ -817,7 +820,7 @@ function generatechat!(a::T; maxattempt::Integer=10 ), "action_name"=> Dict( "type"=> "string", - "description" => "Must be CHAT_BOX", + "description" => "action_name must be CHAT_BOX", ), "action_input"=> Dict( "type"=> "string",