Pick the room and the cast

Choose the room and the people in it.

Every word on screen

Chapters
Transcript
  1. 0:00
    Pick the room and the cast
    The Conversations API
    By ForeverLearning
  2. 0:09
    Step 1 of 3: in a copy of your step 1 app, paste the prompt into your coding assistant.
  3. 0:09
    PROMPT in a copy of your step 1 app, for any AI coding assistant
    Goal: a practice picker. The user chooses a ready-made room and
       the people in it, ... with every character's line under that
       character's own name and face.
    ...
    - For a room: a select labelled Room, ... grouped under its
       category's label ...
    - ... Choosing a room ticks its recommended_personas, and the user
       may change who is ticked. ...
    ... With several people, more than one may answer in a turn. ...
    Rules:
    - ... The opening and each message are billable text turns, at 3¢
       per text turn, however many people are in the room.
    ...
  4. 0:21
    Step 2 of 3: it builds the picker into your app: seven files changed.
  5. 0:22
    CHANGES your step 1 app, after the prompt
    changed  README.md
    changed  conversations.ts
    changed  server.ts
    changed  public/app.js
    changed  public/faces.js
    changed  public/index.html
    changed  public/style.css
    added    .gitignore
    added    its own tests (10 files, test-*)
    
    $ npm start
  6. 0:29
    Step 3 of 3: npm start. The picker comes first: a room, its mode, and how many people it seats.
  7. 0:40
    The Room list, by category: 65 ready-made rooms.
  8. 0:40
    ROOM LIST the picker's Room list, by category
    Work                20   Salary Negotiation ...
    Collaboration        9   Change Announcement ...
    Social              15   Party Small Talk ...
    Relationships        1   Apology After Snapping
    Family & parenting   2   Screen-Time Talk With A Teenager ...
    Care & health        2   Calling To Book An Appointment ...
    Community & civic    4   Neighbor Noise Conflict ...
    Language practice   12   Meeting Someone New ...
    
    65 rooms in all
  9. 0:50
    Party Small Talk seats 2 to 4. The picker ticks the people it recommends: Robin and Kai.
  10. 0:59
    Or choose your own: Lina, Theo and Maya. Anyone can join any room, within its seats.
  11. 1:09
    Or practice on your own topic: one-on-one, or a room of two to five.
  12. Lina
    So, the birthday host has somehow created a party where the snacks are doing more social work than most of us. What brought you over to the kitchen?
  13. Theo
    We were debating whether small talk is a bridge to an actual conversation or just a polite waiting room. I’m Theo.
  14. Maya
    I’m Maya. I was listening more than talking, but now I’m curious what you think.
  15. 1:17
    Start practice. Lina, Theo and Maya open the room, each under their own name, with their own face.
  16. You
    Hi, I'm new here. How do you all know each other?
  17. Lina
    Hi! I know the host from a pottery class, which means we bonded over lopsided bowls and mutual denial about our kiln skills.
  18. Theo
    I know them through a reading group. Maya and I met there, too, though I suspect she remembers the conversation through sketches rather than arguments.
  19. Maya
    That sounds about right. I know the host from a studio open house, and Theo kept recommending books that looked heavier than my backpack.
  20. 1:27
    You ask one question. All three answer, each in their own bubble.
  21. Coach
    What happened: You opened with a friendly question, and the group responded with brief personal connections and details. Why it matters: The question gave everyone an easy way to enter the conversation while leaving room for follow-up. Next move: You could pick one detail, such as the pottery class or reading group, and ask Lina or Theo about it.
  22. 1:38
    The Coach’s note follows every reply, in its own panel.
  23. The app
    Safety: clear · action: none
  24. The app
    Receipt: 1 text turn · $0.03 · settled
  25. 1:49
    With every reply: its safety status and a receipt. 3¢ per text turn, however many people are in the room.
  26. 2:01
    What you just did.
  27. 2:01
    A picker: 65 ready-made rooms by category, and the people in them.
  28. 2:08
    A room of three, each answering under their own name, with their own face.
  29. 2:15
    Next: set how hard it gets.
  30. 2:20
    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