SamplingMessage extension type

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

on
Implementers

Constructors

SamplingMessage.new({required Role role, required Content content})
factory
SamplingMessage.fromMap(Map<String, Object?> _value)

Properties

content Content
The content of the message.
no setter
role Role
The role of the message.
no setter