SyniPersona class

Constructors

SyniPersona({required String id, required String displayName, required String systemPrompt, required String responseSchemaId, String tone = 'calm'})
const

Properties

displayName → String
Human-readable name surfaced in host-app UI.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Canonical spec persona id, e.g. focus.coach.v1. Matches the id field of the matching JSON file under syni-spec/personas/{prod,research}/. Sent to the cloud as persona_id; the server uses it to look up the authoritative system prompt, rules, budget, and privacy contract.
final
responseSchemaId → String
Output schema selector — must be one of the runtime's OutputSchema enum values: suggestions, coach, or chat.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
systemPrompt → String
System prompt prepended to the HSI-conditioned prompt by the runtime's PromptBuilder.
final
tone → String
One- or two-sentence tone descriptor.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited