Skip to main content

Generation

OpenAI Plugin – Generation Action

Summary (SEO Meta Description):
The Generation Action of the OpenAI Plugin uses advanced OpenAI models to generate human-like text.
It enables workflows to produce creative content, draft messages, or create dynamic AI-driven responses.


Overview

The Generation Action allows your workflow to generate text using OpenAI’s language models.
This is ideal for creating content on the fly, drafting responses, or automating creative writing tasks.

Typical Use Cases:

  • Generate personalized email or chat responses
  • Create product descriptions or marketing copy
  • Generate code snippets or technical documentation
  • Draft social media content or blog posts
  • Produce dynamic text for chatbots or interactive apps

⚙️ Configuration

FieldDescriptionType / Options
LabelCustom name for the actionString
Select connectionChoose or create an OpenAI connectionConnection
Model TypeChoose the AI model for text generation: ChatModelGPT4, ChatModelGPT3_5Turbo, ChatModelO1, ChatModelO1Mini, ChatModelGPT4o, ChatModelGPT4oMiniDropdown
TemperatureControls creativity: lower for focused text, higher for creative output (0–2)Number
Max tokenMaximum token limit for the output text: short: 0–100, medium: 100–200, long: 200–500Number

FAQ

Q: Can I control the tone of the generated text?
A: Yes. Provide detailed prompts and adjust the Temperature setting to control creativity and tone.

Q: How do I limit the length of the output?
A: Use the Max token setting to define the maximum number of tokens (roughly words or characters).

Q: Which models are supported?
A: Supported models include ChatModelGPT4, ChatModelGPT3_5Turbo, ChatModelO1, ChatModelO1Mini, ChatModelGPT4o, and ChatModelGPT4oMini.

Q: Is the API key required for every action?
A: Yes. A valid OpenAI API key is required to authenticate and use the Generation Action.


Keywords: WeHub OpenAI Plugin, Generation Action, AI Text Generation, GPT-4, GPT-3.5, Content Automation, Workflow AI