Azure Cloud
Use Azure-hosted OpenAI models with your own Azure API Key
Last updated
Was this helpful?
Use Azure-hosted OpenAI models with your own Azure API Key
Last updated
Was this helpful?
The Azure OpenAI component allows you to integrate Azure-hosted OpenAI models into your flows using your own Azure credentials. You can customize the parameters used by the Azure OpenAI component, specify the context (such as a file or structured data), and provide the userβs input query.
The component interface adapts depending on the selected model, allowing you to choose from chat-based models like GPT-3.5, GPT-4, or others depending on your Azure deployment. See the Parameters section for more detail on the configuration options.
The Azure OpenAI component has the identifier azure-opa-X
, where X
represents the instance number of the component in your flow.
The Azure Cloud component has the following input connections.
From data Loaders/ Data source/Vector DB
This input provides the context for the Azure OpenAI model to use during generation.
Must originate from a Data Loader/Data Source or VectorDB component.
From Input
This is the userβs query to the Azure OpenAI model.
Must come from a component outputting text, such as a Text Input, Form, or Trigger.
Credentials
Use your own Azure API credentials (from Azure OpenAI resource).
Model
Prompt
Customize how the model should respond. You can reference values from other components using @
, and structure the prompt using dynamic variables.
Enable caching
When enabled, stores the result of this component to be reused if input hasn't changed.
Caching time
If caching is enabled, this controls how long the result stays cached.
The Azure component has the following output connections.
To Output
Contains the response text from the Azure OpenAI model.
Can be connected to any component that accepts text input.
Select the model to be used (based on your Azure deployment, e.g., gpt-35-turbo
, gpt-4
, etc.).