ChatGPT · Schema

ChatCompletionAssistantMessage

AgentsAIChatGPTEmbeddingsFine-TuningGPT-4GPT-5Language ModelOpenAIRealtime

Properties

Name Type Description
role string The role of the message author.
content string The contents of the assistant message.
tool_calls array The tool calls generated by the model.
refusal string The refusal message generated by the model.
View JSON Schema on GitHub