This commit is contained in:
narawat lamaiin
2024-04-26 21:25:46 +07:00
parent 54fc9c67bc
commit 8f68d177e7
3 changed files with 173 additions and 140 deletions

View File

@@ -126,16 +126,18 @@ end
function sommelier(
receiveUserMsgChannel::Channel,
receiveInternalMsgChannel::Channel,
msgMeta::Dict= GeneralUtils.generate_msgMeta("N/A"),
config::Dict = Dict(
:frontend=> Dict(
:mqtttopic=> nothing
:mqttServerInfo=> Dict(
:broker=> nothing,
:port=> nothing,
),
:internal=> Dict(
:mqtttopic=> nothing
:receivemsg=> Dict(
:prompt=> nothing, # topic to receive prompt i.e. frontend send msg to this topic
:internal=> nothing,
),
:text2text=> Dict(
:mqtttopic=> "txt2text/api/v1/prompt/gpu",
:thirdPartyService=> Dict(
:text2textinstruct=> nothing,
:text2textchat=> nothing,
),
)
;