Export

ChatCompletionRequestMessage

Hierarchy

  • ChatCompletionRequestMessage

Properties

content?: string

The contents of the message. content is required for all messages except assistant messages with function calls.

Memberof

ChatCompletionRequestMessage

Memberof

ChatCompletionRequestMessage

name?: string

The name of the author of this message. name is required if role is function, and it should be the name of the function whose response is in the content. May contain a-z, A-Z, 0-9, and underscores, with a maximum length of 64 characters.

Memberof

ChatCompletionRequestMessage

The role of the messages author. One of system, user, assistant, or function.

Memberof

ChatCompletionRequestMessage

Generated using TypeDoc