Skip to main content

Interface: ChatMessage

Properties

content

content: ChatMessageContent;

function_call?

optional function_call: ChatFunctionCall;

name?

optional name: string;

role

role: "function" | "assistant" | "system" | "user";