Hugging Face · Arazzo Workflow
Hugging Face Embeddings Pair
Version 1.0.0
Confirm an embedding model is available, then embed a query and a document for comparison.
Provider
Workflows
embeddings-pair
Embed a query and a document with the same model for similarity comparison.
Confirms an embedding model is available on the router, then produces an embedding vector for a query and for a document.
1
listRouterModels
listModels
List the models available through the router to confirm the requested embedding model can be served before embedding.
2
embedQuery
createEmbeddings
Create an embedding vector for the query text using the requested model.
3
embedDocument
createEmbeddings
Create an embedding vector for the document text using the same model so it can be compared to the query vector.