Skip to main content

SayTaskConfiguration

@gravity-rail/sdk


@gravity-rail/sdk / SayTaskConfiguration

Interface: SayTaskConfiguration

What the agent says, verbatim, when the conversation reaches this Task.

message is a Jinja2 template rendered with the same variables as a Task prompt. Optional translations override it by exact locale or same-language match. Every script is optional: without an applicable nonblank script the Task completes silently. Every authored variant must parse (checked by the runtime's validate).

Properties​

message?​

optional message: string

Max Length​

4000


translations?​

optional translations: SayMessageTranslation[]

Max Items​

100


waitForResponse?​

optional waitForResponse: boolean