This commit is contained in:
narawat lamaiin
2024-04-30 10:56:14 +07:00
parent 6c3ef4414b
commit bbdaa2248a
4 changed files with 79 additions and 68 deletions

View File

@@ -1,6 +1,6 @@
module llmfunction
# export wikisearch, winestock, askbox
export virtualWineCustomerChatbox
using HTTP, JSON3, URIs, Random
using GeneralUtils
@@ -63,10 +63,6 @@ end
julia>
```
# TODO
- [x] update docstring
- [TESTING] implement the function
# Signature
"""
function virtualWineCustomerChatbox(a::T1, input::T2)::String where {T1<:agent, T2<:AbstractString}
@@ -89,6 +85,7 @@ function virtualWineCustomerChatbox(a::T1, input::T2)::String where {T1<:agent,
receiverName= "virtualWineCustomer",
mqttBroker= a.config[:mqttServerInfo][:broker],
mqttBrokerPort= a.config[:mqttServerInfo][:port],
msgId = "dummyid" #CHANGE remove after testing finished
)
outgoingMsg = Dict(