This commit is contained in:
narawat lamaiin
2024-04-28 11:17:06 +07:00
parent 6f03c60c59
commit 7a3b574272
2 changed files with 24 additions and 26 deletions

View File

@@ -35,32 +35,27 @@ using ..type, ..util, ..llmfunction, ..mcts
""" Think and choose action
Arguments\n
-----
a::T1
one of Yiem's agent
state::T2
a game state
Return\n
-----
thought::Dict
# Arguments
`a::T1`
one of Yiem's agent
`state::T2`
a game state
# Return
`thought::Dict`
Example\n
-----
```jldoctest
julia>
```
# Example
```jldoctest
julia>
```
TODO\n
-----
[] update docstring
[x] implement the function
[] implement RAG to pull similar experience
[] use iterative prompting to ensure JSON format
# TODO
[] update docstring
[x] implement the function
[] implement RAG to pull similar experience
[] use iterative prompting to ensure JSON format
Signature\n
-----
# Signature
"""
function decisionMaker(a::T1, state::T2) where {T1<:agent, T2<:AbstractDict}
customerinfo =