Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

The OpenAI element allows you to connect powerful language models from OpenAI (like GPT-4) to your AI agent or application. This element can generate text, answer questions, summarize content, extract information, and more, all based on user input or data from other parts of your workflow.

...

  1. In your AI agent builder, you should see OpenAI listed there by default in the section labeled “Add an LLM service”. If not, manually add it by dragging the OpenAI to “Add a LLM service”.
  2. Important: You must provide a valid OpenAI API key to enable functionality.

Image Modified

Configure form properties

Image Modified

To properly integrate and configure OpenAI, set the following fields:

NameDescription
Model

...

Choose the specific OpenAI model you want to use. By default, it will be set to gpt-4o. Common options include:

gpt-3.5-turbo

...

Fast and cost-effective for most conversational tasks.
gpt-4

...

More advanced and accurate, suitable for complex queries and professional applications.
gpt-4o

...

The latest model (as of 2024), optimized for speed and multimodal inputs (text, image, etc.).
API Key

...

Paste your valid OpenAI API key here. You can generate this from your OpenAI dashboard. Keep it secure and do not share it publicly.
Proxy Domain (if applicable)

...

If your environment routes API calls through a proxy, specify the domain here. This may be required in enterprise setups or secured networks.