diff --git a/src/interface.jl b/src/interface.jl index 275a3b2..ddc26b5 100644 --- a/src/interface.jl +++ b/src/interface.jl @@ -979,9 +979,14 @@ function think(a::T)::NamedTuple{(:actionname, :result), Tuple{String, String}} checkinventory(a, actioninput) elseif actionname == "PRESENTBOX" x = """ - 1) Introduce $actioninput in details for the user to choose." - 2) Compare each option against the others in details and explain why each one is a suitable match for the user's specific needs. + 1) Provide detailed introductions of $actioninput to help the user make an informed choice. + 2) Offer a thorough comparison of each option, highlighting their differences. + 3) Explain the potential impact each option could bring to the user. """ + # x = """ + # 1) Introduce $actioninput in details for the user to choose." + # 2) Compare each option against the others in details and explain why each one is a suitable match for the user's specific needs. + # """ (result=x, errormsg=nothing, success=true) elseif actionname == "ENDCONVERSATION" x = "Conclude the conversation, thanks the user then goodbye and inviting them to return next time." @@ -1723,7 +1728,7 @@ function generateSituationReport(a, text2textInstructLLM::Function; skiprecent:: eventcount = count("Event_", response) if eventcount < (length(events)) - errornote = "Note: You need to summarize all 3 events." + errornote = "Note: You need to summarize event 1) to event $(length(events)))." println("the summary covers $eventcount/$(length(events)) ", @__FILE__, " ", @__LINE__) else return Dict(:recap=> response)