v0.7.4 #36

Merged
ton merged 6 commits from v0.7.4 into main 2026-07-27 02:48:28 +00:00
Showing only changes of commit 30b79a3b34 - Show all commits
+5 -2
View File
@@ -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 # 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. 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. 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. 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( system_msg = Dict(
@@ -817,7 +820,7 @@ function generatechat!(a::T; maxattempt::Integer=10
), ),
"action_name"=> Dict( "action_name"=> Dict(
"type"=> "string", "type"=> "string",
"description" => "Must be CHAT_BOX", "description" => "action_name must be CHAT_BOX",
), ),
"action_input"=> Dict( "action_input"=> Dict(
"type"=> "string", "type"=> "string",