using Revise using YiemAgent, GeneralUtils, JSON3, DataStructures msgMeta = Dict(:requestResponse => nothing, :msgPurpose => nothing, :receiverId => nothing, :getPost => nothing, :msgId => "4c7111e0-c30e-44c3-8f85-1c8b3f03a8be", :acknowledgestatus => nothing, :replyToMsgId => "dummyid", :msgFormatVersion => nothing, :mqttServerInfo => Dict(:port => 1883, :broker => "mqtt.yiem.cc"), :sendTopic => "/testingSessionID", :receiverName => "wineassistant", :replyTopic => nothing, :senderName => "test_1", :senderSelfnote => nothing, :senderId => nothing, :timeStamp => "2024-05-04T08:06:23.561" ) outgoingMsg = Dict( :msgMeta=> msgMeta, :payload=> Dict( :text=> "We are holding a wedding party", ) ) result = GeneralUtils.sendMqttMsg(outgoingMsg) outgoingMsg = Dict( :msgMeta=> msgMeta, :payload=> Dict( :text=> "It will be Thai dishes.", ) ) result = GeneralUtils.sendMqttMsg(outgoingMsg) outgoingMsg = Dict( :msgMeta=> msgMeta, :payload=> Dict( :text=> "50 bucks.", ) ) result = GeneralUtils.sendMqttMsg(outgoingMsg) outgoingMsg = Dict( :msgMeta=> msgMeta, :payload=> Dict( :text=> "I like full-bodied Red wine with low tannin.", ) ) result = GeneralUtils.sendMqttMsg(outgoingMsg) outgoingMsg = Dict( :msgMeta=> msgMeta, :payload=> Dict( :text=> "What do you have?", ) ) result = GeneralUtils.sendMqttMsg(outgoingMsg) outgoingMsg = Dict( :msgMeta=> msgMeta, :payload=> Dict( :text=> "<>", ) ) result = GeneralUtils.sendMqttMsg(outgoingMsg) outgoingMsg = Dict( :msgMeta=> msgMeta, :payload=> Dict( :text=> "Dry please.", ) ) result = GeneralUtils.sendMqttMsg(outgoingMsg) outgoingMsg = Dict( :msgMeta=> msgMeta, :payload=> Dict( :text=> "You did not gave me any choice.", ) ) result = GeneralUtils.sendMqttMsg(outgoingMsg) outgoingMsg = Dict( :msgMeta=> msgMeta, :payload=> Dict( :text=> "Yes.", ) ) result = GeneralUtils.sendMqttMsg(outgoingMsg)