Text → Edit
AI-generatedSummary
Requests an edited version of the input text from a specified Unitalk AI model.
Inputs
- model (required) — The Unitalk AI model to use for generating the edit. Options include 'code-davinci-edit-001' and 'text-davinci-edit-001'.
- input (required) — The input text to be edited.
- instruction (required) — The instruction that tells the model how to edit the input text (e.g., 'Fix the spelling mistakes').
Output shape
A list of items with an edited version of the input text.
By default, the response is simplified to return the edited text. If 'Simplify' is disabled, the raw API response is returned.
Examples
Example 1: Fix spelling errors in a list of sentences
Select 'text-davinci-edit-001' as the model, enter the raw sentences in 'Input', and specify 'Fix the spelling mistakes' in 'Instruction'.
Example 2: Rewrite a paragraph to be more concise
Select 'text-davinci-edit-001' as the model, enter the paragraph in 'Input', and specify 'Rewrite this paragraph to be concise' in 'Instruction'.