Skip to main content

display_interaction

Function
This function is defined in the display module.
Display an agent interaction

Signature

def display_interaction(agent_name: &str, content: &str, response_type: Option<&str>) -> ()

Parameters

agent_name
&str
required
No description available.
content
&str
required
No description available.
response_type
Option<&str>
required
No description available.

Returns

Returns
()
The result of the operation.

Uses

  • agent
  • meta
  • unwrap_or
  • execute_sync_callbacks
  • read
  • get
  • is_none

Source

View on GitHub

praisonai/src/display.rs at line 417