update
This commit is contained in:
@@ -107,17 +107,23 @@ function decisionMaker(a::T1, state::T2)::String where {T1<:agent, T2<:AbstractD
|
||||
"Thought_2": "reasoning",
|
||||
...
|
||||
"Thought_n": "reasoning",
|
||||
"Action_1": "action to take",
|
||||
"Action_1": {"action": "action to take", "input": "Action input"},
|
||||
"Observation_1": "result of the action"
|
||||
}
|
||||
|
||||
Here are some examples:
|
||||
{
|
||||
"Question": "I would like to buy a sedan",
|
||||
"Thought_1": "I have many car in my inventory suitable for several usage scenarios",
|
||||
"Thought_2": "It would be better if I know what the user intend to do with his car",
|
||||
"Question": "I would like to buy a sedan.",
|
||||
"Thought_1": "I have many cars in my inventory suitable for several usage scenarios.",
|
||||
"Thought_2": "It would be better if I knew what the user intends to do with his car."1,
|
||||
"Thought_3": "I will ask the user what is the intended usecase",
|
||||
"Action_1": "Chatbox[What will you use it for?]"
|
||||
"Action_1": {"action": "Chatbox", "input": "What will you use it for?"}
|
||||
}
|
||||
{
|
||||
"Question": "I'm looking for a sedan.",
|
||||
"Thought_1": "I have many types of sedans in my inventory, each with diverse features.",
|
||||
"Thought_2": "It would be easier to make a recommendation if I knew what feature the user is looking for. I should ask the user.",
|
||||
"Action_1": {"action": "Chatbox", "input": "Do you have any specific feature in mind?"}
|
||||
}
|
||||
|
||||
$reflect
|
||||
@@ -307,7 +313,7 @@ function conversation(a::T, userinput::Dict) where {T<:agent}
|
||||
|
||||
|
||||
|
||||
else #[WORKING] new thinking
|
||||
else #[PENDING] new thinking
|
||||
initialState = Dict(
|
||||
|
||||
# deepcopy the info to prevent modifying the info unintentionally during MCTS planning
|
||||
|
||||
Reference in New Issue
Block a user