> ## 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.

# text • AI Agent SDK

> text: Script a plain assistant answer (the same as a bare ``str`` entry).

# text

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**ScriptedModel**](../classes/ScriptedModel) class in the [**scripted**](../modules/scripted) module.

Script a plain assistant answer (the same as a bare `str` entry).

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def text(content: str) -> ScriptedReply
```

## Parameters

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

### Returns

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

## Uses

* `ScriptedReply`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/model_harness/scripted.py#L341">
  `praisonaiagents/model_harness/scripted.py` at line 341
</Card>
