Skip to main content

Azure

Bundles contain custom components that support specific third-party integrations with Langflow.

This page describes the components that are available in the Azure bundle.

Azure OpenAI

This component generates text using Azure OpenAI LLMs.

It can output either a Model Response (Message) or a Language Model (LanguageModel). Specifically, the Language Model output is an instance of AzureChatOpenAI configured according to the component's parameters.

Use the Language Model output when you want to use an Azure OpenAI model as the LLM for another LLM-driven component, such as a Language Model or Smart Function component.

For more information, see Language Model components.

Azure OpenAI parameters

Many Azure OpenAI component input parameters are hidden by default in the visual editor. You can toggle parameters through the Controls in the component's header menu.

NameTypeDescription
Model NameStringInput parameter. Specifies the name of the Azure OpenAI model to be used for text generation.
Azure EndpointStringInput parameter. Your Azure endpoint, including the resource.
Deployment NameStringInput parameter. Specifies the name of the deployment.
API VersionStringInput parameter. Specifies the version of the Azure OpenAI API to be used.
API KeySecretStringInput parameter. Your Azure OpenAI API key.
TemperatureFloatInput parameter. Specifies the sampling temperature. Defaults to 0.7.
Max TokensIntegerInput parameter. Specifies the maximum number of tokens to generate. Defaults to 1000.
Input ValueStringInput parameter. Specifies the input text for text generation.
StreamBooleanInput parameter. Specifies whether to stream the response from the model. Defaults to False.

Azure OpenAI Embeddings

The Azure OpenAI Embeddings component generates embeddings using Azure OpenAI models.

For more information about using embedding model components in flows, see Embedding Model components.

Azure OpenAI Embeddings parameters

Some Azure OpenAI Embeddings component input parameters are hidden by default in the visual editor. You can toggle parameters through the Controls in the component's header menu.

NameTypeDescription
ModelStringInput parameter. The name of the model to use. Default: text-embedding-3-small.
Azure EndpointStringInput parameter. Your Azure endpoint, including the resource, such as https://example-resource.azure.openai.com/.
Deployment NameStringInput parameter. The name of the deployment.
API VersionStringInput parameter. The API version to use, with options including various dates.
API KeyStringInput parameter. The API key required to access the Azure OpenAI service.
Search