Your first practice room

A practice room in your own app, one call a turn.

Every word on screen

Chapters
Transcript
  1. 0:00
    Your first practice room
    The Conversations API
    By ForeverLearning
  2. 0:09
    Step 1 of 3: paste the prompt into your coding assistant, in an empty folder.
  3. 0:09
    PROMPT in an empty folder, for any AI coding assistant
    Goal: a practice page where a user rehearses a hard conversation
       with a character from the Conversations API, and sees the
       Coach's note beside the scene.
    ...
    4. Show each reply from its saved conversation_turn event: each
       entry of the turn's cast (its display_name and text) in its own
       bubble under that name, and the Coach's note (the turn's
       coach.text) in a separate panel labelled Coach ...
    5. Beside each character's line, show a face for that character
       ...
    ...
    Rules:
    - Keep the API key on the server, in the FOREVERLEARNING_API_KEY
       environment variable.
    ...
  4. 0:20
    CHANGES your new folder, after the prompt
    + .gitignore
    + README.md
    + package.json
    + public/app.js
    + public/faces.js
    + public/index.html
    + public/style.css
    + server.ts
    + src/protocol.ts
    + tests/live-smoke.ts
    + tests/protocol.test.ts
    + tsconfig.json
    
    $ npm install
    $ npm start
  5. 0:21
    Step 2 of 3: it builds the app: twelve files.
  6. Jon
    You said fifteen minutes. So... this is about Friday's migration, right?
  7. 0:31
    Step 3 of 3: npm start. The room opens, and Jon speaks first, under his name, with his face.
  8. Jon
    You said fifteen minutes. So... this is about Friday's migration, right?
  9. 0:42
    Jon is one of 52 characters. Each has a name, a role and a personality of their own.
  10. Coach
    What happened: Jon identified the Friday migration as the likely focus and asked for confirmation. Why it matters: Confirming the specific event can keep the feedback tied to observable facts rather than broader judgments. Next move: You could confirm the focus and name the first concrete impact you want to discuss.
  11. 0:53
    The Coach’s note sits beside the scene, in its own panel.
  12. You
    I wanted to talk about the last two reports. They came in after the deadline, and I'd like to understand what's getting in the way.
  13. Jon
    The Halvorsen migration was ready from my end. The schema step was QA's to catch, and nobody told me they were running imports over the weekend.
  14. 1:01
    You answer, and Jon answers in character.
  15. Jon’s face
    Turn 1: Guarded · Turn 2: Defensive · Turn 3: Steadying
  16. The app
    Faces show the characters’ simulated responses in this scene. They are never a reading of you.
  17. 1:11
    Jon’s mood carries from turn to turn. His face follows it.
  18. 1:22
    With every reply: its safety status and a receipt. 3¢ per text turn.
  19. 1:30
    What you just did.
  20. 1:31
    A practice room in your own app, one call a turn.
  21. 1:36
    A character with a mood of his own, and a face that follows it.
  22. 1:44
    Next: close the session and read the debrief. Then pick your room and your cast.
  23. 1:53
    The Conversations API
    By ForeverLearning
    Every reply on screen is real.
    Try it yourself today.
    developers.foreverlearning.ai

Music: "Angel Share" by Kevin MacLeod (incompetech.com) · CC BY 4.0 License

More films

A room that feels real.

One API call away.

Start building