class BBS::AI::Persona

Who the model plays, as data. The YAML file:

system: |                 # the system prompt; line breaks are kept
  You are …
examples:                 # turns in the right voice, sent before the history
  - user: hi
    assistant: I am here.
options:                  # extra request fields (sampling), optional
  temperature: 0.8
  max_tokens: 96
deflect:                  # answered without the model, tried first:
  - match: '\b(code|python)\b'   # what a small model gets wrong
    reply: I do not write code.
fallback:                 # canned replies, tried top to bottom
  replies:
    - match: '\b(hello|hi)\b'   # a case-insensitive regexp
      reply: I am here.
  default: 'You said: "{input}".'