update
This commit is contained in:
@@ -87,7 +87,7 @@ function winestock(a::agentReflex, input::NamedTuple)
|
||||
newDict[string(k)] = v
|
||||
end
|
||||
|
||||
query = JSON3.write(newDict)
|
||||
query = JSON3.write(a.memory[:keyword])
|
||||
|
||||
println("")
|
||||
@show query
|
||||
@@ -311,7 +311,7 @@ function winestock(a::agentReflex, input::NamedTuple)
|
||||
end
|
||||
|
||||
@show result
|
||||
error(7777)
|
||||
|
||||
return result
|
||||
end
|
||||
|
||||
@@ -334,7 +334,9 @@ end
|
||||
"""
|
||||
function askbox(input::String)
|
||||
dict = GeneralUtils.JSON3read_stringKey(input)
|
||||
return dict["Q1"]
|
||||
_keylist = keys(dict)
|
||||
keylist = [key for key in _keylist]
|
||||
return dict[keylist[1]]
|
||||
end
|
||||
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ function agentReflex(
|
||||
:sommelier =>
|
||||
"""
|
||||
Request the user’s input for the following info initially, and use alternative sources of information only if they are unable to provide it:
|
||||
- wine price range: ask the user
|
||||
- wine price: ask the user
|
||||
- wine type (rose, white, red, sparkling, dessert)
|
||||
- food type that will be served with wine
|
||||
- wine sweetness level (dry to very sweet)
|
||||
|
||||
Reference in New Issue
Block a user