This commit is contained in:
2025-03-09 18:36:57 +07:00
parent 7dd6b56e4c
commit 4f1917e01b
2 changed files with 350 additions and 58 deletions

View File

@@ -35,7 +35,7 @@ function text2textInstructLLM(prompt::String)
msgPurpose="inference",
senderName="yiemagent",
senderId=sessionId,
receiverName="text2textinstruct_medium",
receiverName="text2textinstruct_small",
mqttBrokerAddress=config[:mqttServerInfo][:broker],
mqttBrokerPort=config[:mqttServerInfo][:port],
)
@@ -64,7 +64,7 @@ function getEmbedding(text::T) where {T<:AbstractString}
msgPurpose="embedding",
senderName="yiemagent",
senderId=sessionId,
receiverName="text2textinstruct_medium",
receiverName="text2textinstruct_small",
mqttBrokerAddress=config[:mqttServerInfo][:broker],
mqttBrokerPort=config[:mqttServerInfo][:port],
)