# Functions

AssistantMessage creates a new assistant message item.
AssistantTextMessage creates a new assistant text message item.
AudioContent creates a new audio content part.
FunctionCallItem creates a new function call item.
FunctionResponseItem creates a new function response item.
InputAudioContent creates a new input audio content part.
InputTextContent creates a new input text content part.
ItemReferenceContent creates a new item reference content part.
MessageItem creates a new message item.
NewMessage creates a new message with the given options.
SystemMessage creates a new system message item.
TextContent creates a new text content part.
TranscriptContent creates a new transcript content part.
UserAudioMessage creates a new user audio message item.
UserMessage creates a new user message item.
UserTextMessage creates a new user text message item.
WithContent sets the content for the message.
WithEndTurn sets whether the message ends the turn.
WithMetadata sets the metadata for the message.
WithName sets the name for the message.
WithRole sets the role for the message.
WithTools sets the tools for the message.