update
This commit is contained in:
@@ -333,7 +333,6 @@ end
|
||||
# ```
|
||||
|
||||
# # TODO
|
||||
# [PENDING] add Reflect()
|
||||
|
||||
# # Signature
|
||||
# """
|
||||
@@ -407,8 +406,9 @@ julia> response = ChatAgent.conversation(newAgent, "Hi! how are you?")
|
||||
```
|
||||
|
||||
# TODO
|
||||
- [] update docstring
|
||||
- [PENDING] MCTS() for planning
|
||||
- [] update docstring
|
||||
- [WORKING] MCTS() for planning
|
||||
- [] add recap to initialState for earlier completed question
|
||||
|
||||
# Signature
|
||||
"""
|
||||
@@ -441,11 +441,12 @@ function conversation(a::T, userinput::Dict) where {T<:agent}
|
||||
:reward=> 0,
|
||||
:isterminal=> false,
|
||||
:thoughtHistory=> OrderedDict{Symbol, Any}( # contain question, thought_1, action_1, observation_1, thought_2, ...
|
||||
# :recap=>,
|
||||
:question=> userinput[:text],
|
||||
)
|
||||
)
|
||||
bestplan = runMCTS(a, initialState, decisionMaker, progressValueEstimator, reflector,
|
||||
isterminal, 2, 3, 3, 1.0)
|
||||
2, 3, 4, 1.0)
|
||||
error("---> bestplan")
|
||||
|
||||
# actor loop(bestplan)
|
||||
|
||||
Reference in New Issue
Block a user