Lodol Docs

OpenAI

API actions for the OpenAI integration.

OpenAI

Connect OpenAI's GPT models to generate text, answer questions, and power AI steps in your workflows.


Send a prompt to an OpenAI model

Sends a prompt to the OpenAI model you select and returns the response text.

Parameters

ParameterTypeRequiredDescription
promptstringYesThe question or instructions to send to the model.
modelstringNoWhich OpenAI model to use. Defaults to {...}.

Response

{
  "response_text": "Based on your question about quantum computing, here are the key principles...",
  "status": "success"
}

On this page