Skip to main content

to_message

Method
This is a method of the SessionMessage class in the session module.
Convert to LLM Message

Signature

def to_message(&self) -> Message

Returns

Returns
Message
The result of the operation.