CreateAzureOpenAiEmbeddings 2025.10.9.21

Bundle

com.snowflake.openflow.runtime | runtime-openai-nar

Description

Uses Azure OpenAI to create embeddings for text. The input text can be provided as a single FlowFile or as a record-oriented FlowFile.

Tags

azure, chatbot, embeddings, gen ai, generative ai, llm, nlp, openai, openflow, text

Input Requirement

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
API KeyThe API Key for authenticating to Azure OpenAI
Deployment NameThe name of the OpenAI model deployment to use for creating embeddings
DimensionsThe number of dimensions to request the resulting output embeddings have. This is only supported in text-embedding-3 and later models.
Embeddings Record PathThe path to the field in the record where the embeddings are to be written.
Max Batch SizeThe maximum number of records to include in each batch sent to OpenAI
OpenAI Service NameThe name of the OpenAI service to use
Record ReaderThe record reader to use for reading record-oriented data. If the incoming data is to be treated as plaintext, this property should be left unset.
Record WriterThe Record Writer to use for writing the output
Text Record PathThe path to the field in the record that contains the text to be embedded. If the incoming data is to be treated as plaintext, this property should be left unset.
UserAn identifier for the remote user on whose behalf the request is being made; OpenAI uses this to detect and prevent abuse.
Web Client ServiceThe Web Client Service to use for communicating with OpenAI

Relationships

NameDescription
failureThe original FlowFile will be routed to this relationship if the embeddings could not be created
successThe embeddings will be routed to this relationship

Writes attributes

NameDescription
record.countThe number of records written to the output
mime.typeThe MIME type of the output data, based on the chosen Record Writer

Use cases

Create embeddings for text using Azure OpenAI’s Embeddings

See also