update
This commit is contained in:
@@ -318,14 +318,14 @@ function decisionMaker(a::T; recent::Integer=5)::Dict{Symbol,Any} where {T<:agen
|
||||
|
||||
delete!(responsedict, :mentioned_winery)
|
||||
|
||||
# cache decision dict into vectorDB, this should be after new message is added to a.memory[:events]
|
||||
println("\n~~~ Do you want to cache decision dict? (y/n)")
|
||||
user_answer = readline()
|
||||
if user_answer == "y"
|
||||
timeline = timeline
|
||||
decisiondict = responsedict
|
||||
a.func[:insertSommelierDecision](timeline, decisiondict)
|
||||
end
|
||||
# #CHANGE cache decision dict into vectorDB, this should be after new message is added to a.memory[:events]
|
||||
# println("\n~~~ Do you want to cache decision dict? (y/n)")
|
||||
# user_answer = readline()
|
||||
# if user_answer == "y"
|
||||
# timeline = timeline
|
||||
# decisiondict = responsedict
|
||||
# a.func[:insertSommelierDecision](timeline, decisiondict)
|
||||
# end
|
||||
|
||||
return responsedict
|
||||
catch e
|
||||
|
||||
Reference in New Issue
Block a user