Skip to main content

new

Method
This is a method of the MemoryMessage class in the protocols module.
Create a new memory message

Signature

def new(role: impl Into<String>, content: impl Into<String>) -> Self

Parameters

role
impl Into<String>
required
No description available.
content
impl Into<String>
required
No description available.

Returns

Returns
Self
The result of the operation.