TextEmbeddingStep
Properties
extendsBaseStep ↗
type:enum
requiredquery:string
requiredThe text which is turned into a vector, or an expression in {{ }} which returns it. Requires the capability embedding.create.
example "a hot drink made from roasted beans"
parameters:object
requiredprovider:string
requiredName of the embedding provider of the configuration.
example "openai"
Raw Schema
{ "allOf": [ { }, { "type": "object", "required": [ "type", "query", "parameters" ], "properties": { "type": { "type": "string", "enum": [ "text-embedding" ] }, "query": { "type": "string", "maxLength": 8192, "description": "The text which is turned into a vector, or an expression in `{{ }}` which returns it. Requires the capability `embedding.create`.", "example": "a hot drink made from roasted beans" }, "parameters": { "type": "object", "additionalProperties": true, "required": [ "provider" ], "properties": { "provider": { "type": "string", "description": "Name of the embedding provider of the configuration.", "example": "openai" } } } } } ]}