Use AI to generate text from a prompt within your flow.
The Generate Text action allows you to generate text dynamically during your endpoint execution using your connected ChatGPT integration.At runtime, this block sends your prompt to the selected model and stores the generated output for use in later blocks.
This action requires the ChatGPT Integration to be configured in order to run. Your endpoint flow will ignore this block if the integration is not properly configured.
The prompt field is the instruction sent to the model. You write constant instructions that will always be the same, or use variables within your instructions to customize the generated text every time the endpoint is run!For example:
The model dropdown defines which model generates the response.Different models can vary in speed, cost, output quality, or context length. Choose the model that best fits your use case.
This variable allows you to refer to the result of the text generation in future action blocks down your endpoint’s flow. This variable must be assigned a custom name.
Make your reference variable names as descriptive and unique as possible to prevent your endpoint flow from becoming cluttered. If a future variable is assigned the same name, the value of your reference variable will be overriden.