update
This commit is contained in:
+2
-2
@@ -163,7 +163,7 @@ function decisionMaker(a::T; recentevents::Integer=20, maxattempt=3
|
||||
"""
|
||||
|
||||
# strict output format
|
||||
json_schema = Dict(
|
||||
response_format = Dict(
|
||||
"type"=> "json_schema",
|
||||
"json_schema"=> Dict(
|
||||
"name"=> "user_profile",
|
||||
@@ -185,7 +185,7 @@ function decisionMaker(a::T; recentevents::Integer=20, maxattempt=3
|
||||
"model"=> "gemma-4-E4B-it-UD-Q4_K_XL",
|
||||
"messages"=> a.chathistory,
|
||||
"temperature"=> 0.7,
|
||||
"response_format"=> json_schema,
|
||||
"response_format"=> response_format,
|
||||
)
|
||||
|
||||
for attempt in 1:maxattempt
|
||||
|
||||
Reference in New Issue
Block a user