SamplingMessage

@Serializable
data class SamplingMessage(val role: Role, val content: PromptMessageContentTextOrImage)(source)

Describes a message issued to or received from an LLM API.

Constructors

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

Properties

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