This commit is contained in:
narawat lamaiin
2024-05-09 09:02:34 +07:00
parent 46bbb31699
commit 6ce4b90d26
3 changed files with 73 additions and 110 deletions

View File

@@ -112,13 +112,25 @@ outgoingMsg = Dict(
:text=> "You did not gave me any choice.",
:select=> nothing,
:reward=> -1,
:isterminal=> true,
:isterminal=> false,
)
)
result = GeneralUtils.sendMqttMsg(outgoingMsg)
outgoingMsg = Dict(
:msgMeta=> msgMeta,
:payload=> Dict(
:text=> "You don't need to ask me. Just tell me already!",
:select=> nothing,
:reward=> -1,
:isterminal=> false,
)
)
result = GeneralUtils.sendMqttMsg(outgoingMsg)
outgoingMsg = Dict(
:msgMeta=> msgMeta,
@@ -137,7 +149,7 @@ result = GeneralUtils.sendMqttMsg(outgoingMsg)
outgoingMsg = Dict(
:msgMeta=> msgMeta,
:payload=> Dict(
:text=> "I don't have any thing specific",
:text=> "Dry please.",
:select=> nothing,
:reward=> 0,
:isterminal=> false,
@@ -164,10 +176,10 @@ result = GeneralUtils.sendMqttMsg(outgoingMsg)
outgoingMsg = Dict(
:msgMeta=> msgMeta,
:payload=> Dict(
:text=> "I don't like the one you recommend. I want dry wine.",
:text=> "I didn't like the one you recommend. You like dry wine.",
:select=> nothing,
:reward=> -1,
:isterminal=> true,
:isterminal=> false,
)
)
result = GeneralUtils.sendMqttMsg(outgoingMsg)