Skip to main content

asimilarity

AsyncMethod
This is a method of the EmbeddingAgent class in the embedding_agent module.
Async version of similarity().

Signature

Parameters

text1
str
required
No description available.
text2
str
required
No description available.
model
Optional
No description available.

Returns

Returns
float
The result of the operation.

Uses

  • aembed_batch

Source

View on GitHub

praisonaiagents/agent/embedding_agent.py at line 394