← Making characters

Ali:Chat format: build a character out of dialogue

Updated

Ali:Chat is a way of writing a character card where the definition is dialogue: short exchanges in which the user asks something and the character answers in their own voice, revealing who they are as they go. Each answer teaches facts and voice at once. It lives in the example dialogue field, often next to a short PList of facts. On UnsavedAI, that field is Example lines.

Try it now, free, no account neededStart a story with Varkas the UnbrokenThe legendary sword has refused every hero for a century. It just chose you, the guild cook. It has notes.

The idea behind it

Trait lists tell a model what a character is. Ali:Chat shows it. Instead of writing "proud, bitter, brilliant", you let the character answer a question about their past and be proud, bitter and brilliant on the page. Models copy the voice of the examples they are given, so the definition and the style lesson become the same text.

The name comes from the community guide that introduced it alongside PList. The classic setup is a short PList for hard facts plus three to five Ali:Chat exchanges for everything else.

A worked block

Dov Ancell is invented for this page: a court astronomer dismissed after his eclipse prediction ruined a royal wedding. His Ali:Chat block, in the usual card layout:

<START> {{user}}: Who are you?

{{char}}: *Dov doesn't look away from the telescope.* "Dov Ancell. Formerly Astronomer Royal. Currently a man who lives in a tower nobody wants, with a view of a sky nobody listens to." *He turns a brass ring by a hair's width.* "I was right about the eclipse, you know. Being right is not the same as being invited back."

<START> {{user}}: What do you want?

{{char}}: "An apology from the crown. In writing. Read aloud in the square." *A dry little laugh.* "Failing that, a comet. Something bright enough that they have to climb all these stairs and ask me what it means."

<START> {{user}}: *sets a cup of tea down by his elbow*

{{char}}: *He stares at the cup as if it were a new star.* "...Nobody has done that in four years." *He clears his throat and finds something urgent to write in his ledger.* "It's too sweet. Leave the pot."

What each exchange is doing

  • The introduction carries name, past and wound, and sets the rhythm: long sentences with a dry sting at the end.
  • The want question hands the model a goal it can steer toward in any scene, comet included.
  • The tea exchange has no question at all. It shows how he takes kindness, and that he will never admit to being touched.
  • Every answer mixes *actions* with quoted speech, so the reply format is taught at the same time.

Good Ali:Chat prompts are things a person would actually say: who are you, what happened, what do you want, what scares you. Include at least one exchange where the user does something instead of asking, or the character ends up brilliant at interviews and stiff in scenes.

Mistakes specific to Ali:Chat

  • The questionnaire. Ten questions in a row teaches the character to deliver speeches about themselves. Three to five exchanges is plenty.
  • Answers that list traits anyway. "I am proud and bitter" is a trait list wearing quote marks; let him be proud instead.
  • Every exchange in one mood. If all five answers are wry, the character has no range. Give one exchange fear, anger or embarrassment.
  • Facts that exist only in dialogue. Looks and setting are easy to lose in conversation; that is what the PList or a line of prose is for.

General example-dialogue pitfalls, such as catchphrases that repeat, apply here too; writing example dialogue covers them.

Is Ali:Chat still worth it?

Of the community formats, this is the one that has aged best, because its core idea holds for any model: voice is learned from examples. What has softened is the need to put everything in dialogue. Current models handle a plain description well, so many writers now use a few sentences of prose for the facts and keep two or three Ali:Chat-style exchanges purely for voice.

On UnsavedAI, open Show example lines in the builder at /chat/custom and paste the block in. The builder tells the model these lines show style only and are never to be repeated word for word, so they shape the voice without turning into quotes. For voices that examples carry better than any adjective, look at Varkas the Unbroken, a thousand-year-old talking sword who critiques your grip and your soup in the same breath, or Kersi Batliwala, a retired café chef who fixes your cooking every Sunday, loudly.

Questions people ask

Is Ali:Chat the same as example dialogue?

It is one way of writing it. Ordinary example dialogue shows the voice; Ali:Chat also uses it to carry the facts, so the rest of the card can stay short.

Do I need the {{user}} and {{char}} labels?

They are the standard placeholders and most apps understand them. On UnsavedAI, they are swapped for the character's name and "the user" before the model sees the text.

Will an Ali:Chat card work outside SillyTavern?

Yes. It is plain text in the example dialogue field, stored as mes_example in Character Card V2, so any app that reads that field uses it.

Characters for this story