2:11The Conversations API
Put conversation practice inside your product.
Pick the room and the cast The Conversations API By ForeverLearning
Step 1 of 3: in a copy of your step 1 app, paste the prompt into your coding assistant.
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. ...
Step 2 of 3: it builds the picker into your app: seven files changed.
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
Step 3 of 3: npm start. The picker comes first: a room, its mode, and how many people it seats.
The Room list, by category: 65 ready-made rooms.
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
Party Small Talk seats 2 to 4. The picker ticks the people it recommends: Robin and Kai.
Or choose your own: Lina, Theo and Maya. Anyone can join any room, within its seats.
Or practice on your own topic: one-on-one, or a room of two to five.
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?
We were debating whether small talk is a bridge to an actual conversation or just a polite waiting room. I’m Theo.
I’m Maya. I was listening more than talking, but now I’m curious what you think.
Start practice. Lina, Theo and Maya open the room, each under their own name, with their own face.
Hi, I'm new here. How do you all know each other?
Hi! I know the host from a pottery class, which means we bonded over lopsided bowls and mutual denial about our kiln skills.
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.
That sounds about right. I know the host from a studio open house, and Theo kept recommending books that looked heavier than my backpack.
You ask one question. All three answer, each in their own bubble.
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.
The Coach’s note follows every reply, in its own panel.
Safety: clear · action: none
Receipt: 1 text turn · $0.03 · settled
With every reply: its safety status and a receipt. 3¢ per text turn, however many people are in the room.
What you just did.
A picker: 65 ready-made rooms by category, and the people in them.
A room of three, each answering under their own name, with their own face.
Next: set how hard it gets.
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
2:11Put conversation practice inside your product.
Side by side1:11Everyone in the room answers for themselves.
1:59A practice room in your own app, one call a turn.
One API call away.
Start building