AIMessageRole

value class AIMessageRole(val rawValue: String)

Who wrote a message. It is an open set: compare against the roles you know.

Parameters

rawValue

The role's name, such as user.

Constructors

Link copied to clipboard
constructor(rawValue: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String