update
This commit is contained in:
@@ -125,6 +125,10 @@ end
|
||||
julia>
|
||||
```
|
||||
|
||||
# TODO
|
||||
- [] update docs
|
||||
- [] add to remove <<< user option select >>> and <<| reward |>>
|
||||
|
||||
# Signature
|
||||
"""
|
||||
function virtualWineCustomerChatbox(a::T1, input::T2)::String where {T1<:agent, T2<:AbstractString}
|
||||
@@ -158,9 +162,9 @@ function virtualWineCustomerChatbox(a::T1, input::T2)::String where {T1<:agent,
|
||||
)
|
||||
@show outgoingMsg
|
||||
result = GeneralUtils.sendReceiveMqttMsg(outgoingMsg; timeout=120)
|
||||
response = result[:response][:text]
|
||||
response = result[:response]
|
||||
|
||||
return response
|
||||
return (response[:text], response[:select], response[:reward], response[:isterminal])
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user