The Azure OpenAI Embedding job type calls an Azure OpenAI embedding
deployment synchronously via POST /openai/deployments/{deployment}/embeddings. The deployment is
identified by its name — Polysync stores that in the External
Id.
This job type is supported on the Azure OpenAI platform.
name.Azure OpenAI Embedding (set automatically on import).GET /deployments?api-version=2023-05-01 — deployments whose model
name contains embedding are imported as Embedding Jobs.
| Parameter | Direction | Role |
|---|---|---|
input |
Input |
Text to embed. |
embedding |
Output |
JSON array from data[0].embedding. |
prompt_tokens |
Output |
usage.prompt_tokens. |
total_tokens |
Output |
usage.total_tokens. |
Request body: { "input": "<input>" }.
Synchronous, identical mechanics to Azure OpenAI Chat Completion:
POST /openai/deployments/{deployment}/embeddings?api-version=2024-10-21.Same as Azure OpenAI Chat Completion.
embedding array in a downstream Vector Database
Job (e.g., Cosmos DB / pgvector) via an Input&Output parameter
bound across Tasks.InvalidInputModel — the deployment is not an embedding model.
Re-classify by deleting and re-importing, or pick a deployment with
embedding in its model name.