OpenAI integration
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
What your agents can do with OpenAI
45 pre-built OpenAI tool steps, ready to drop into any agent. Anything they do not cover, an agent can reach with an authenticated API call.
Actions (41)
Translate Text (Whisper)
Translate text from one language to another using the Chat API.
Summarize Text
Summarizes text using the Chat API.
Create Completion (Send Prompt)
OpenAI recommends using the Chat action for the latest gpt-3.5-turbo API, since it's faster and 10x cheaper. This action creates a completion for the provided prompt and parameters using the older /completions API.
Create Embeddings
Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.
Classify Items into Categories
Classify items into specific categories using the Chat API.
Chat
The Chat API, using the gpt-3.5-turbo or gpt-4 model.
Chat With Responses API
Send a chat via the Responses API, mixing built-in tools and MCP server tools.
Chat using Web Search
Chat using the web search tool.
Chat using Functions
Chat with your models and allow them to invoke functions. Optionally, you can build and invoke workflows as functions.
Chat using File Search
Chat with your files knowledge base (vector stores).
Upload File
Upload a file that can be used across various endpoints/features. The size of individual files can be a maximum of 512mb.
Retrieve File Content
Retrieves the contents of the specified file.
And 29 more, available in the tool step browser.
Triggers (4)
New Run State Changed
Emit new event every time a run changes its status.
New Fine Tuning Job Created
Emit new event when a new fine-tuning job is created in OpenAI.
New File Created
Emit new event when a new file is created in OpenAI.
New Batch Completed
Emit new event when a new batch is completed in OpenAI.
Set up OpenAI in Relevance AI
Do this once. Every agent in your workspace can then use the connection.
Create a Relevance AI account
Sign in, or create a free account. You do not need to be a developer to set this up.
Connect your OpenAI account
In Relevance AI, open Integrations and add OpenAI, then paste your API Key. You will find it in your OpenAI account settings.
Use OpenAI in an agent
Create a tool, add a OpenAI tool step, and connect it to an agent. The agent fills in the step's inputs each time it runs.
Put OpenAI to work in your agents
Connect OpenAI alongside 1,800+ other integrations and let your agents run the busywork.