This commit is contained in:
narawat lamaiin
2024-04-29 17:01:43 +07:00
parent 0c39c507f5
commit 85240c5fb8
4 changed files with 392 additions and 111 deletions

View File

@@ -9,7 +9,7 @@ export MCTSNode, runMCTS
using Dates, UUIDs, DataStructures, JSON3, Random
using GeneralUtils
using ..type
using ..type, ..llmfunction
# ---------------------------------------------- 100 --------------------------------------------- #
@@ -232,8 +232,19 @@ julia>
"""
function transition(a::T1, state::T2, action::T3,
actioninput::T3) where {T1<:agent, T2<:AbstractDict, T3<:AbstractString}
error("--> transition")
error("--> transition")
# map action and input() to llm function
# result =
# if action == "chatbox"
# chatbox(input)
# elseif
# else
# end
end
"""