update
This commit is contained in:
@@ -1083,7 +1083,7 @@ function generatechat(a::sommelier)
|
||||
|
||||
You should then respond to the user with:
|
||||
1) Mentioning_wine: Are you going to mentioning specific wine name to the user? Can be "Yes" or "No"
|
||||
2) Chat: Given the situation, what would you say to convey your thoughts to the user?
|
||||
2) Chat: Given the situation, what would you say to the user?
|
||||
|
||||
You should only respond in format as described below:
|
||||
Mentioning_wine: ...
|
||||
@@ -1253,7 +1253,7 @@ function generatechat(a::companion)
|
||||
println("")
|
||||
println("Attempt $attempt. Error occurred: $errorMsg\n$st")
|
||||
println("")
|
||||
noise = noises(3, 5)
|
||||
noise = GeneralUtils.randstrings(3, 5)
|
||||
end
|
||||
end
|
||||
error("generatechat failed to generate an evaluation")
|
||||
@@ -1701,13 +1701,14 @@ function generateSituationReport(a, text2textInstructLLM::Function; skiprecent::
|
||||
|
||||
eventcount = count("Event_", response)
|
||||
|
||||
if eventcount < (length(events))
|
||||
errornote = "Note: You need to summarize event 1) to event $(length(events)))."
|
||||
println("the summary covers $eventcount/$(length(events)) ", @__FILE__, " ", @__LINE__)
|
||||
else
|
||||
# if eventcount < (length(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)
|
||||
# end
|
||||
return Dict(:recap=> response)
|
||||
end
|
||||
end
|
||||
error("generateSituationReport failed to generate a thought ", response)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user