update evaluator

This commit is contained in:
2026-07-09 19:44:37 +07:00
parent 6cb4073e29
commit cbaa480e84
+9 -7
View File
@@ -284,14 +284,16 @@ function evaluator(state::T1, text2textInstructLLM::Function, llmFormatName::Str
usermsg =
"""
<internal_context_for_assistant>
$(state["context"]["table_schema"])
<table_schema>
$(state["context"]["table_schema"])
</table_schema>
<customer question>
$(state["chathistory"][2]["content"][1]["text"])
</customer question>
<assistant_action_history>
$(GeneralUtils.dict_to_string_html(state["action_history"]))
</assistant_action_history>
</internal_context_for_assistant>
<customer question>
$(state["chathistory"][2]["content"][1]["text"])
</customer question>
<trajectories>
$(GeneralUtils.dict_to_string_html(state["action_history"]))
</trajectories>
"""
msg = Dict(