Merge pull request 'fix tool name' (#35) from v0.7.4-add_vector_search into v0.7.4

Reviewed-on: #35
This commit was merged in pull request #35.
This commit is contained in:
ton
2026-07-27 02:47:43 +00:00
+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
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",