update
This commit is contained in:
@@ -127,7 +127,7 @@ function decisionMaker(config::T1, state::T2)::Dict{Symbol, Any} where {T1<:Abst
|
||||
The following lesson(s) give a plan to avoid failing to help the user in the same way you
|
||||
did previously. Use them to improve your strategy to help the user.
|
||||
|
||||
Here are some lessons:
|
||||
Here are some lessons in JSON format:
|
||||
$(JSON3.write(lessons))
|
||||
|
||||
When providing the thought and action for the current trial, that into account these failed
|
||||
@@ -701,6 +701,7 @@ julia> response = ChatAgent.conversation(newAgent, "Hi! how are you?")
|
||||
"""
|
||||
function conversation(a::T, userinput::Dict) where {T<:agent}
|
||||
config = deepcopy(a.config)
|
||||
pprint(config)
|
||||
if userinput[:text] == "newtopic"
|
||||
clearhistory(a)
|
||||
return "Okay. What shall we talk about?"
|
||||
|
||||
Reference in New Issue
Block a user