This commit is contained in:
narawat lamaiin
2024-05-28 23:48:50 +07:00
parent fcf8d855b8
commit 3f38fdbb70
7 changed files with 202 additions and 452 deletions

View File

@@ -59,26 +59,26 @@ tools=Dict( # update input format
# response = YiemAgent.conversation(a, Dict(:text=> "newtopic",) )
response = YiemAgent.conversation(a, Dict(:text=> "Hello, I would like a get a bottle of wine",
:select=> nothing,
:reward=> 0,
:isterminal=> false,
) )
println("---> YiemAgent: ", response)
# response = YiemAgent.conversation(a, Dict(:text=> "Hello, I would like a get a bottle of wine",
# :select=> nothing,
# :reward=> 0,
# :isterminal=> false,
# ) )
# println("---> YiemAgent: ", response)
response = YiemAgent.conversation(a, Dict(:text=> "I'm having a graduation party this evening. I'll pay at most 30 bucks.",
:select=> nothing,
:reward=> 0,
:isterminal=> false,
) )
println("---> YiemAgent: ", response)
# #BUG mcts do not start at current chat history
# response = YiemAgent.conversation(a, Dict(:text=> "I'm having a graduation party this evening. I'll pay at most 30 bucks.",
# :select=> nothing,
# :reward=> 0,
# :isterminal=> false,
# ) )
# println("---> YiemAgent: ", response)
"It will be Thai dishes."
"I like medium-bodied with low tannin."
dummyinput = "price < 50, full-bodied red wine with sweetness level 2, low tannin level and medium acidity level, Thai dishes"
response = YiemAgent.winestock(a, dummyinput)