Skip to content

Role

The author of the message: 'system' for instructions, 'user' for the input, and 'assistant' for an earlier model answer that is part of the conversation.

Allowed Values

  • system
  • user
  • assistant

Type

( "system" | "user" | "assistant" )

Declaration

1
 ( "system" | "user" | "assistant" ) myAICompletionMessage.Role