Embed a practice room

The practice room in your product’s look, and the rest unchanged.

Every word on screen

Chapters
Transcript
  1. 0:00
    Embed a practice room
    The Conversations API
    By ForeverLearning
  2. 0:08
    PROMPT in your product's repository, for any AI coding assistant
    Goal: a practice room from the Conversations API inside my
       existing product, in the product's own look, with the rest of
       the product unchanged.
    ... Find the place in the product where a user should practice a
       conversation ...
    1. One server-side module with two routes on the product's own
       server: ...
    2. Connect the module to the existing server with the smallest
       change you can.
    4. ... a face drawn in code, in the product's look, ...
    Rules:
    - Show the characters' words exactly as returned. Don't change
       anything else in the product.
    - The opening and each message are billable text turns, at 3¢ per
       text turn.
  3. 0:09
    Step 1 of 3: in your product’s repository, paste the prompt into your coding assistant.
  4. 0:21
    Step 2 of 3: one module on your server and the panel it fills: four files changed, four added.
  5. 0:22
    CHANGES your product, after the prompt
    changed  README.md
    changed  server.ts
    changed  public/app.js
    changed  public/style.css
    added    .env.example
    added    .gitignore
    added    practice.ts
    added    public/character-faces.js
    added    its own checks (1 file)
    
    $ npm start
  6. 0:31
    Before: Team Desk, a sample product, with a place for practice and nothing in it yet.
  7. 0:40
    Step 3 of 3: npm start, then Practice with Jon. The room opens inside the product, and the rest is unchanged.
  8. Jon
    You said fifteen minutes. What’s this about?
  9. Jon
    I’ve got the Halvorsen notes open if that’s what you need.
  10. 0:51
    Jon opens by name, with a face drawn in the product’s look. The Coach’s note sits apart.
  11. You
    That makes sense. What would help you flag a slip like that before the deadline next time?
  12. Jon
    A checkpoint before I mark it ready. Not a generic checklist review—the actual schema and the client’s import schedule. If QA owns that step, I need the handoff to name who’s checking it and when.
  13. 1:00
    You answer. Jon answers in character, and the Coach follows every reply.
  14. 1:11
    What you just did.
  15. 1:12
    Two routes on your own server, joined with the smallest change.
  16. 1:17
    The practice room in your product’s look, and the rest unchanged.
  17. 1:23
    Next: a Finish button and a debrief, as in step 2.
  18. 1:31
    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