update
This commit is contained in:
@@ -95,10 +95,7 @@ function getEmbedding(text::T) where {T<:AbstractString}
|
||||
)
|
||||
)
|
||||
|
||||
#BUG it returns nothing from ollama
|
||||
response = GeneralUtils.sendReceiveMqttMsg(outgoingMsg; timeout=120, maxattempt=2)
|
||||
|
||||
|
||||
response = GeneralUtils.sendReceiveMqttMsg(outgoingMsg; timeout=120, maxattempt=3)
|
||||
embedding = response[:response][:embeddings]
|
||||
return embedding
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user