This commit is contained in:
narawat lamaiin
2024-06-01 00:37:25 +07:00
parent 3196842296
commit 97c566a9d5
5 changed files with 36 additions and 19 deletions

View File

@@ -102,6 +102,7 @@ mutable struct sommelier <: agent
# 1-historyPoint is in Dict{Symbol, Any} and compose of:
# state, statevalue, thought, action, observation
plan::Dict{Symbol, Any}
mctsWorkDict::Dict{Symbol, Any}
end
function sommelier(
@@ -149,6 +150,7 @@ function sommelier(
:activeplan => Dict{Symbol, Any}(), # current using plan
:currenttrajectory=> Dict{Symbol, Any}(), # store question, thought, action, observation, ...
)
mctsWorkDict::Dict{Symbol, Any} = Dict{Symbol, Any}()
)
#[NEXTVERSION] publish to a.config[:configtopic] to get a config.
@@ -167,6 +169,7 @@ function sommelier(
chathistory,
keywordinfo,
plan,
mctsWorkDict,
)
return newAgent