Skip to main content

add

Method
This is a method of the ContextAgent class in the specialized module.
Add an entry to context

Signature

def add(&mut self, role: impl Into<String>, content: impl Into<String>) -> ()

Parameters

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

Returns

Returns
()
The result of the operation.