Photos of handwritten work

Attach the photo. Ask for a check.

Read the full transcript Watch on YouTube

Why this matters.

Step 3 of the quick start. The chat gains a photo button. A learner sends a photo of handwritten algebra and asks for a check, and Learn reads the page: what holds, and the slip on line 2. The photo goes through your server, never straight from the browser.

It reads the page.

See the quick start

Every word of it.

Chapters8
On screen14
  • 0:00Photos of handwritten work
    The Learn API
    By ForeverLearning
  • 0:07Step 1 of 3: in your app from episode 2, paste the prompt into your coding assistant.
  • 0:08PROMPT in your app’s folder, for any AI coding assistant
    Goal: the learner attaches a photo of their handwritten page and
    gets help on their own lines.

    ...

    Rules:
    - Keep the API key on the server, in the FOREVERLEARNING_API_KEY
    environment variable. Read the API host from
    ...
    - Render each reply's Markdown (headings, lists, bold, code) and
    its math.
    ...
  • 0:18Step 2 of 3: seven edits, no new file. Nothing else changes.
  • 0:19CHANGES your app, after the prompt
    ~ learn.ts
    ~ package.json
    ~ public/app.js
    ~ public/index.html
    ~ public/style.css
    ~ README.md
    ~ server.ts

    $ npm start
  • 0:27Step 3 of 3: choose Feedback, attach the photo, ask for a check.
  • 0:34It reads the page: what holds, the slip on line 2, and the check that repeats it.
  • 0:52Every turn: its kind, its safety status, its receipt.
  • 0:52RECEIPT receipts.jsonl, this turn
    {
    "request_id": "req_…",
    "posture": "feedback",
    "safety_level": "clear",
    "billable_units": 1,
    "charge_micro_usd": 50000,
    "settlement": "settled"
    }
  • 1:01What you just did.
  • 1:01A photo button, and a preview in the learner’s message.
  • 1:07The photo goes to your server, then to Learn. Never straight from the browser.
  • 1:14Next: remember the learner.
  • 1:20The Learn API
    By ForeverLearning
    Every reply on screen is real.
    Try it yourself today.
    developers.foreverlearning.ai
The exchange1
  • LearnI can read the photo clearly: you distributed, isolated the variable, and included a check line. I’ll go through each written step, then trace the repair to the final value.

    Steps that hold
    - 2(x - 4) = 10 correctly records the original equation.

    Steps that do not hold
    - 2x - 4 = 10 does not hold as a distribution step. The kind of mistake is distributing the 2 to x but not to 4. The constant should also be multiplied by 2, so the line becomes 2x - 8 = 10.
    - 2x = 14 carries the constant from the previous line. Adding 8 to both sides gives 2x = 18.
    - x = 7 carries that earlier value. Dividing 2x = 18 by 2 gives x = 9.
    - Check: 2(7) - 4 = 10 does not check the original grouping: it changes 2(x - 4) into 2x - 4. Using the corrected value in the original equation gives 2(9 - 4) = 2 × 5 = 10.

    So the corrected chain is 2x - 8 = 10, then 2x = 18, then x = 9. Practice distributing a factor to every term inside parentheses, and keep the parentheses unchanged when substituting into the original equation.

It reads the page: what holds, the slip on line 2, and the check that repeats it.

A learner-safe learning system. One API call away.

Start building