OpenAI components for building AI agents.

Changelog

17 versions
v1.4.0 Latest
  • Added MakeApiCall component for performing arbitrary authorized API calls to the OpenAI API.
v1.3.4
  • GenerateImage: handle b64_json response format for gpt-image-1/gpt-image-2 models; throw CancelError when API returns neither url nor b64_json.
v1.3.3
  • Replaced direct Redis pub/sub with tenant-isolated context pubSubPublish method.
v1.3.2
  • Fixed ioredis sentinel connection configuration to properly parse sentinel hosts and handle password authentication.
v1.3.1
  • Fixed AI Agent mcpCallTool not passing correlationId, causing MCP server tool calls to appear in separate execution logs.
v1.3.0
  • Introduced VariableExtractor component to specifically extract values for given variables from inputs using AI.
v1.2.3
  • Updated langchain npm dependencies.
v1.2.2
  • Added validation for required fields in components.
v1.2.1
  • Renamed the AI Agent component label to remove the OpenAI suffix for clarity in the Designer.
v1.2.0
  • Added support for files. AI agent now accepts a file that can be used as additional context for the prompt.
v1.1.2
  • Fixed OpenAI API error "tool_call_ids did not have response messages" by ensuring all tool call IDs receive responses, even when tools timeout or fail. Added comprehensive error handling for malformed JSON arguments and improved polling logic to guarantee complete tool call coverage. Enhanced logging and reliability for AI conversations when tools experience issues.
v1.1.1
  • Fixed a bug which prevented the AI Agent from using MCP server tools.
v1.1.0
  • Add mcp output port for connecting MCP servers.
  • Memory data store can be selected to store agent memory and summary.
  • New connector configuration: AI_AGENT_MAX_HISTORY_SIZE (default 512000), llmBaseUrl and llmDefaultHeaders to support other OpenAI SDK compatible LLMs.
  • Report usage and timing information in the output.
  • Better performance, assistant API exchanged for chat completion.
  • Support for streaming responses with built-in chat utility.
  • Partial agent progress reported via streams too (for built-in chat utility).
v1.0.3
  • Fixed an error `JSON schema is invalid` that occurred when the AiAgent used a tool with an empty parameters object.
v1.0.2
  • TransformTextToJSON: improved error handling for invalid JSON schema input.
v1.0.1
  • Fixed missing prompt in SendPrompt output variables. Other, small internal improvements.
v1.0.0
  • First version.

Authentication

TypeDetails
API Key
API Key (text)
Log into your OpenAI account and find API Keys page in the Settings.

Actions

13
AI Agent icon

AI Agent

Build an AI agent responding with contextual answers or performing contextual actions.
Create Speech icon

Create Speech

Generates audio from the input text.
Create Transcription icon

Create Transcription

Transcribes audio into the input language.
Describe Images icon

Describe Images

Answer questions about the content of one or more images.
Generate Embeddings icon

Generate Embeddings

Generate embeddings for text data. The text is split into chunks and embedding is returned for each chunk.
The returned embeddings is an array of the form: [{ "index": 0, "text": "chunk1", "vector": [1.1, 1.2, 1.3] }].
TIP: use the JSONata modifier to convert the embeddings array into custom formats. For convenience, the component also returns the first vector in the embeddings array which is useful when querying vector databases to find relevant chunks.
Generate Embeddings From File icon

Generate Embeddings From File

Generate embeddings for a text file. The text is split into parts, each part is split into chunks and embedding is returned for each chunk. The component emits embeddings array for each file part (1MB).
The returned embeddings is an array of the form: [{ "index": 0, "text": "chunk1", "vector": [1.1, 1.2, 1.3] }].
TIP: use the JSONata modifier to convert the embeddings array into custom formats.
Generate Image icon

Generate Image

Generates an image from a text prompt.
List Models icon

List Models

List models.
Make Api Call icon

Make Api Call

Generic method for making API calls to a 3rd party service.
Moderate icon

Moderate

Classify if text is potentially harmful.
Send Prompt icon

Send Prompt

Send a prompt to a Large Language Model and receive a response.
Transform Text To J S O N icon

Transform Text To J S O N

Extract structured JSON data from text using AI.
Variable Extractor icon

Variable Extractor

Extract values for given variables from inputs using AI.