Open Dev Kit Documentation :: Open AI :: Request Responses
OpenAI.RequestResponses( Model String, Options AI Base Options, Previous Response ID String, Instructions String, Messages AI Chat Message Array ) AI Result*Creates a model response. Provide text inputs to generate text or JSON outputs.
Parameters
- Model String
- The model to use.
- Previous Response ID String
- The unique ID of the previous response to the model. Use this to create multi-turn conversations.
- Instructions String
- Inserts a system (or developer) message as the first item in the model's context. When using along with PreviousResponseID, the instructions from a previous response will not be carried over to the next response. This makes it simple to swap out system (or developer) messages in new responses.
- Messages AI Chat Message Array
- A list of one or many input messages to the model.
Return Value
If you think anything is missing, please feel free to: submit documentation feedback on this page