Text content part
objectLearn about text inputs.
The type of the content part.
Allowed values:text
The text content.
System message
objectDeveloper-provided instructions that the model should follow, regardless of
messages sent by the user. With o1 models and newer, use developer messages
for this purpose instead.
One OfThe contents of the system message.
The contents of the system message.
The role of the messages author, in this case system.
Allowed values:system
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
ChatCompletionRequestSystemMessageContentPart
One OfThe type of the content part.
Allowed values:text
The text content.
Tool message
objectThe role of the messages author, in this case tool.
Allowed values:tool
One OfThe contents of the tool message.
The contents of the tool message.
Tool call that this message is responding to.
ChatCompletionRequestToolMessageContentPart
One OfThe type of the content part.
Allowed values:text
The text content.