> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Display Interaction • Rust AI Agent SDK

> display_interaction: Display an agent interaction

# display\_interaction

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**display**](../modules/display) module.

Display an agent interaction

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def display_interaction(agent_name: &str, content: &str, response_type: Option<&str>) -> ()
```

## Parameters

<ParamField query="agent_name" type="&str" required={true}>
  No description available.
</ParamField>

<ParamField query="content" type="&str" required={true}>
  No description available.
</ParamField>

<ParamField query="response_type" type="Option<&str>" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="()">
  The result of the operation.
</ResponseField>

## Uses

* `agent`
* `meta`
* `unwrap_or`
* `execute_sync_callbacks`
* `read`
* `get`
* `is_none`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/display.rs#L417">
  `praisonai/src/display.rs` at line 417
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Display" icon="display" href="/docs/rust/display" />

  <Card title="Rust Output" icon="file-export" href="/docs/rust/output" />
</CardGroup>
