Skip to content

putmanmodel/guided-dialogue-trajectory

Repository files navigation

Guided Dialogue Trajectory

Guided Dialogue Trajectory is a small creator-facing TypeScript + React prototype for comparing how different phrasings of the same intent affect interpretation, scene state, and cue outputs.

What it demonstrates

  • One authored scene, "After the Mistake"
  • Five hand-authored dialogue variants for the same core intent
  • Deterministic interpretation, state, and cue rules
  • No chatbot behavior, generation, or LLM dependencies

Local run

npm install
npm run dev

Open the local Vite URL shown in the terminal.

Tests

npm test

Guided Dialogue Trajectory

Guided Dialogue Trajectory is a creator-facing TypeScript + React prototype for exploring how different phrasings of the same intent change interpretation, scene state, and what happens next.

It is a deterministic dialogue-trajectory workbench for testing how wording choices alter downstream response.

What it is

This project is a small, interpretable design tool for:

  • defining a scene frame
  • comparing multiple dialogue variants for the same intent
  • showing how each variant is interpreted in context
  • applying explicit scene-state changes
  • surfacing cue consequences for what happens next

What it is not

  • Not a chatbot
  • Not freeform story generation
  • Not generic sentiment analysis
  • Not dependent on LLMs or black-box inference

What it demonstrates

  • One authored scene, "After the Mistake"
  • Five hand-authored dialogue variants for the same core intent
  • Deterministic interpretation, state, and cue rules
  • A clear relationship between wording choice, interpretation, and downstream consequence
  • A foundation for future JSON export and engine-side use in tools like Unity

Core loop

  1. A scene is defined.
  2. A speaker has an intent.
  3. Multiple phrasing variants are available.
  4. A variant is selected.
  5. The system interprets the line in context.
  6. Scene state changes are applied.
  7. Cue outputs update.
  8. The next moment becomes different because of that choice.

Local run

npm install
npm run dev

Open the local Vite URL shown in the terminal.

Tests

npm test
npm run build

Contact

Stephen A. Putman
putmanmodel@pm.me
@putmanmodel X/BlueSky
u/putmanmodel Reddit

License

Creative Commons Attribution-NonCommercial 4.0 International Public
See full LICENSE for details.

Releases

No releases published

Packages

 
 
 

Contributors