interface ChatCompletionSystemMessageParam {
    content: string | ChatCompletionContentPartText[];
    name?: string;
    role: "system";
}

Properties

Properties

content: string | ChatCompletionContentPartText[]

The contents of the system message.

name?: string

An optional name for the participant. Provides the model information to differentiate between participants of the same role.

role: "system"

The role of the messages author, in this case system.