state property

Map<String, dynamic>? state
final

The person's state for this turn (runtime 0.8.0+): readings, the core-runtime facts SyniAgent.answersPlan asked for, device names, today's date, tone and name, as the runtime's answers::StateInput. With it the runtime answers about the person's state itself and checks the reply against the facts; SyniTurnResult.answer says how. The persona's own prompt is then left out of the system turn, as the runtime supplies the persona. Send it only to a runtime that SyniRuntimeCapabilities.supportsAnswers: an older one ignores it.

Implementation

final Map<String, dynamic>? state;