text • AI Agent SDK

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

text

Method

</div>

This is a method of the ScriptedModel class in the scripted module.

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

Signature

python
def text(content: str) -> ScriptedReply

Parameters

ParamField str

No description available.

Returns

ResponseField ScriptedReply

The result of the operation.

Uses

  • ScriptedReply

Source

View on GitHub

praisonaiagents/model_harness/scripted.py at line 341