PromptMessage

@Serializable
data class PromptMessage(val role: Role, val content: PromptMessageContent)(source)

Describes a message returned as part of a prompt.

Constructors

Link copied to clipboard
constructor(role: Role, content: PromptMessageContent)

Properties

Link copied to clipboard
Link copied to clipboard
val role: Role