# Edit text action

Edit text for the provided input, instruction, and parameters. You can use this action across workflows in a variety of use cases:

  • Proposal/pitch generation: Sales teams can use the edit text feature to improve the quality of their proposals, quotes, and other sales collaterals. The action can be used to generate sales documents and automatically edit the content for clarity and conciseness.
  • Brainstorming: Marketing teams can use the edit text feature to improve the quality of their messaging and content. It can be used in workflows that generate marketing materials, and automatically edit the content to ensure it is grammatically correct and engaging.
  • Documentation generation: The action can be used to generate documentation from release notes for faster internal and external communication.

Edit text actionEdit Text Action

# Input

Field Description
Model Select the OpenAI model to which you plan to send the text for editing.
Input Enter a text prompt that you would like modified.
Instruction Provide specific instructions based on which the model will edit the input text.
Top p Enter a value between 0 and 1 for controlling the diversity of completions. A higher value results in more varied responses. We recommend using this or temperature but not both. Learn more here (opens new window).
Temperature Enter a value between 0 and 2 to control the randomness of completions. Higher values will make the output more random, while lower values will make it more focused and deterministic. We recommend using this or top p but not both. Learn more here (opens new window)
Number of edits The number of edits to generate for the prompt. The minimum is 1 and the maximum is 20.

# Output

Field Description Created The datetime stamp of when the response was generated. Choices Text The response of the model for the specified input. Best choice Contains the response which OpenAI probabilistically considers to be the ideal selection. Usage Prompt tokens The number of tokens utilized by the prompt. Completions tokens The number of tokens utilized for editing text. Total tokens The total number of tokens utilized by the prompt and response.


Last updated: 6/20/2023, 4:11:40 PM

On this page