
Azure Embeddings
CertifiedGenerate vector embeddings from text input
Azure Embeddings
Generate vector embeddings from text input
Use Azure AI Foundry to generate embeddings using a deployed model endpoint.
type: io.kestra.plugin.azure.aifoundry.EmbeddingsExamples
Generate embeddings and log the result
id: azure_ai_embeddings
namespace: company.team
tasks:
- id: embed
type: io.kestra.plugin.azure.aifoundry.Embeddings
endpoint: "{{ secret('AZURE_AI_FOUNDRY_ENDPOINT') }}"
apiKey: "{{ secret('AZURE_AI_FOUNDRY_API_KEY') }}"
deploymentName: text-embedding-3-small
inputs:
- "The quick brown fox jumps over the lazy dog."
- id: log_result
type: io.kestra.plugin.core.log.Log
message: "Embedding vector length: {{ outputs.embed.embeddings[0] | length }}"
Properties
deploymentName *string
The name of the deployment to use
endpoint *string
Azure AI Foundry endpoint
The Azure AI Foundry project or model endpoint URL.
inputs *array
The text inputs to generate embeddings for
apiKey string
Azure AI Foundry API key
API key for API-key authentication. When omitted, DefaultAzureCredential (Entra ID) is used instead.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150clientId string
Azure client ID
Client ID of the Azure app registration used with tenantId and clientSecret.
clientSecret string
Azure client secret
Client secret of the Azure app registration used with tenantId and clientId.
tenantId string
Azure tenant ID
Azure Entra tenant ID used with clientId and clientSecret for service principal authentication.
Outputs
embeddings array
The generated embeddings, one list of floats per input text