OpenAI (ChatGPT & DALL-E) modules

Last update: 2024-02-13
  • Created for:
  • User

In an Adobe Workfront Fusion scenario, you can automate workflows that use OpenAI (ChatGPT & DALL-E), as well as connect it to multiple third-party applications and services.

If you need instructions on creating a scenario, see Create a scenario in Adobe Workfront Fusion.

For information about modules, see Modules in Adobe Workfront Fusion.

Access requirements

You must have the following access to use the functionality in this article:

Adobe Workfront plan*

Pro or higher

Adobe Workfront license*

Plan, Work

Adobe Workfront Fusion license**

Workfront Fusion for Work Automation and Integration

Product Your organization must purchase Adobe Workfront Fusion as well as Adobe Workfront to use functionality described in this article.

To find out what plan, license type, or access you have, contact your Workfront administrator.

For information on Adobe Workfront Fusion licenses, see Adobe Workfront Fusion licenses.

Prerequisites

To use OpenAI (ChatGPT & DALL-E) modules, you must have an OpenAI account, including an API key and Organization ID.

Connecting OpenAI (ChatGPT & DALL-E) to Workfront Fusion

You can create a connection to your OpenAI (ChatGPT & DALL-E) account directly from inside an OpenAI (ChatGPT & DALL-E) module.

  1. In any OpenAI (ChatGPT & DALL-E) module, click Add next to the Connection field.

  2. Enter the following information:

    Connection name

    Enter a name for the new connection.

    API Key You can locate your API key in your OpenAI user settings.
    Organization ID  You can locate your Organization ID on your Organization Settings page in OpenAI.
  3. Click Continue to create the connection and go back to the module.

OpenAI (ChatGPT & DALL-E) modules and their fields

When you configure OpenAI (ChatGPT & DALL-E) modules, Workfront Fusion displays the fields listed below. Along with these, additional OpenAI (ChatGPT & DALL-E) fields might display, depending on factors such as your access level in the app or service. A bolded title in a module indicates a required field.

If you see the map button above a field or function, you can use it to set variables and functions for that field. For more information, see Map information from one module to another in Adobe Workfront Fusion.

Create a Completion

IMPORTANT

This module has been deprecated.

Create a Moderation

This action module determines whether text violates OpenAI’s Content Policy.

Connection

For instructions about connecting your OpenAI (ChatGPT & DALL-E) account to Workfront Fusion, see Connecting OpenAI (ChatGPT & DALL-E) to Workfront Fusion in this article.

Input For each sample of text that you want to include, click Add item and enter or map the text. Include the entire text sample.
Model Enter or map the ID of the model to use. You can use the Get models module to see all of your available models.

Create an Edit

This action module returns an edited version of a prompt you provide, following your instructions.

Connection

For instructions about connecting your OpenAI (ChatGPT & DALL-E) account to Workfront Fusion, see Connecting OpenAI (ChatGPT & DALL-E) to Workfront Fusion in this article.

Model Enter or map the ID of the model to use. You can use the Get models module to see all of your available models.
Input Enter or map the text that you want to edit.
Instruction Enter or map the instructions for the edit. Example: "Fix the spelling mistakes."
Advanced settings

For information about the optional advanced settings in this module, see the information about creating edits in the OpenAI API documentation.

Create an Embedding

This action module creates an embedding vector representing the input text.

Connection

For instructions about connecting your OpenAI (ChatGPT & DALL-E) account to Workfront Fusion, see Connecting OpenAI (ChatGPT & DALL-E) to Workfront Fusion in this article.

Model Enter or map the ID of the model to use. You can use the Get models module to see all of your available models.
Input text to embed Enter or map the text that you want to embed.
User ID Enter or map a unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse
Limit Enter or map the maximum number of edits you want the module to work with during each scenario execution cycle.

Create Chat Completion

Given a list of messages describing a conversation, this action module returns a response.

Connection

For instructions about connecting your OpenAI (ChatGPT & DALL-E) account to Workfront Fusion, see Connecting OpenAI (ChatGPT & DALL-E) to Workfront Fusion in this article.

Model Enter or map the ID of the model to use. You can use the Get models module to see all of your available models.
Messages Messages describe the conversation so far. For each message you want to add, click Add item and fill in the following:
  • Role: Select the role of the author of this message.
  • Content: Enter or map the content of this message.
  • Name: Enter or map the name of the author of this message. The name can contain upper- and lowercase letter, numbers, and underscores. The maximum length for the name is 64 characters.
Advanced settings

For information about the optional advanced settings in this module, see the information about creating chat completions in the OpenAI API documentation.

Generate images

This action module generates or manipulates images with Dall-E models.

Connection

For instructions about connecting your OpenAI (ChatGPT & DALL-E) account to Workfront Fusion, see Connecting OpenAI (ChatGPT & DALL-E) to Workfront Fusion in this article.

Text description of the desire image Enter or map a description of the desired image. Maximum description length is 1000 characters.
Advanced settings

For information about the optional advanced settings in this module, see the information about creating images in the OpenAI API documentation.

Get Models

This module lists and describes the various models available in the OpenAI API.

Connection

For instructions about connecting your OpenAI (ChatGPT & DALL-E) account to Workfront Fusion, see Connecting OpenAI (ChatGPT & DALL-E) to Workfront Fusion in this article.

Action Select whether you want to get a list of all models or retrieve a specific model.
  • List models

    This action lists the currently available models, and provides basic information about each one such as the owner and availability.

  • Retrieve model

    Enter or map the ID of the model you want to retrieve.

Make a Custom API Call

This action module a custom HTTP request to the OpenAI API.

Connection

For instructions about connecting your OpenAI (ChatGPT & DALL-E) account to Workfront Fusion, see Connecting OpenAI (ChatGPT & DALL-E) to Workfront Fusion in this article.

URL

Enter a path relative to https://api.openai.com/v1/

Method

Select the HTTP request method you need to configure the API call. For more information, see HTTP request methods in Adobe Workfront Fusion.

Headers

Add the headers of the request in the form of a standard JSON object.

For example, {"Content-type":"application/json"}

Workfront Fusion adds the authorization headers automatically.

Query String

Add the query for the API call in the form of a standard JSON object.

For example: {"name":"something-urgent"}

Body

Add the body content for the API call in the form of a standard JSON object.

Note:

When using conditional statements such as if in your JSON, put the quotation marks outside of the conditional statement.

Manage files

This action module lists, deletes, or retrieves files or file content.

Connection

For instructions about connecting your OpenAI (ChatGPT & DALL-E) account to Workfront Fusion, see Connecting OpenAI (ChatGPT & DALL-E) to Workfront Fusion in this article.

Action Select the action that you want to perform.
File ID If you are deleting a file, or retrieving a file or file content, enter or map the ID of the file.

Manage Fine-tunes

Manage fine-tuning jobs to tailor a model to your specific training data.

On this page

Connection

For instructions about connecting your OpenAI (ChatGPT & DALL-E) account to Workfront Fusion, see Connecting OpenAI (ChatGPT & DALL-E) to Workfront Fusion in this article.

Select the operation Select the action that you want to perform.
  • Fine-tune a model from a dataset

    Enter or map a description for the desired image.

  • Get info about a fine-tuning job

    Enter or map the ID of the job.

  • Cancel a fine-tuning job

    Enter or map the ID of the job.

  • Cancel a fine-tuning job

    Enter or map the ID of the job.

  • Get status updates for a fine-tuning job

    Enter or map the ID of the job, and select whether you want to stream these updates.

  • Delete a fine-tuned model

    Enter or map the ID of the model you want to delete.

File ID If you are deleting a file, or retrieving a file or file content, enter or map the ID of the file.