This commit is contained in:
narawat lamaiin
2024-04-24 08:02:01 +07:00
parent 1962035990
commit 445bb11592
3 changed files with 151 additions and 14 deletions

View File

@@ -110,9 +110,9 @@ function conversation(a::T, userinput::Dict) where {T<:agent}
else #[WORKING] new thinking
initialState = Dict(
:info=> Dict(), # keyword info
:thought=> nothing,
:action=> nothing,
:observation=> nothing,
:thoughtHistory=> Dict( # contain question, thought_1, action_1, observation_1, thought_2, ...
:question=> userinput[:text],
)
)
bestplan = runMCTS(initialState, decisionMaker, stateValueEstimator, reflector,
3, 10, 1000, 1.0)