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
List the models available through the router to confirm the requested embedding model can be served before embedding.
2
embedQuery
Create an embedding vector for the query text using the requested model.
3
embedDocument
Create an embedding vector for the document text using the same model so it can be compared to the query vector.
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.