update
This commit is contained in:
+6
-6
@@ -99,7 +99,7 @@ julia> output_thoughtDict = Dict(
|
||||
"""
|
||||
function decisionMaker(a::T; recentevents::Integer=20, maxattempt=10
|
||||
) where {T<:agent}
|
||||
|
||||
println("\nExecuting YiemAgent decisionMaker()")
|
||||
# lessonDict = copy(JSON3.read("lesson.json"))
|
||||
|
||||
# lesson =
|
||||
@@ -859,9 +859,9 @@ function evaluator(a::T1, timeline, decisiondict, evaluateecontext
|
||||
</You should then respond to the user with>
|
||||
<You should only respond in JSON format as described below>
|
||||
{
|
||||
"trajectory_evaluation": "..."
|
||||
"decision_evaluation": "..."
|
||||
"approved": "..."
|
||||
"trajectory_evaluation": "...",
|
||||
"decision_evaluation": "...",
|
||||
"approved": "...",
|
||||
"suggestion": "..."
|
||||
}
|
||||
</You should only respond in format as described below>
|
||||
@@ -1215,14 +1215,14 @@ function think(a::T)::NamedTuple{(:actionname, :result),Tuple{String,String}} wh
|
||||
a.memory[:shortmem][:scratchpad] *=
|
||||
"""
|
||||
<database_search_result>
|
||||
I searched the database with this search term: $actioninput This is what I found: $result
|
||||
I searched the database with this search term: $actioninput \nThis is what I found: $result
|
||||
</database_search_result>
|
||||
"""
|
||||
else
|
||||
a.memory[:shortmem][:scratchpad] *=
|
||||
"""
|
||||
<database_search_result>
|
||||
I searched the database with this search term: $actioninput This is what I found: $result
|
||||
I searched the database with this search term: $actioninput \nThis is what I found: $result
|
||||
</database_search_result>
|
||||
"""
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user