Skip to main content

run

Method
This is a method of the RunnableAgentProtocol class in the protocols module.
Run the agent with a prompt (alias for chat in most cases)

Signature

def run(&self, prompt: &str) -> Result<String>

Parameters

prompt
&str
required
No description available.

Returns

Returns
Result<String>
The result of the operation.