Abed Manzalji

8 interactive demos

The Lab

Interactive demos of how AI models behave. Nothing you type leaves your browser.

Tokens

How a model reads text

AIs don't read letters or whole words. They read tokens: chunks of text. Type anything and watch it split.

A rough split, to show the idea. Each real AI cuts text with its own dictionary, so its counts differ a little.

Watch: Why is my AI bill so high?

Temperature

Why answers change

For the next word, an AI has a list of guesses, each with a chance. Temperature decides how adventurous its pick is.

The cat sat on the …

    Last picks

    Made-up chances, to show the idea.

    Context window

    Why models forget

    An AI can only hold so much of a chat at once: its context window. Add messages and watch the oldest ones fall out.

    A tiny window, to show the idea. Real windows hold far more, but they still fill up.

    Watch: What's a context window?

    Prompt injection

    Hidden text the AI still reads

    Some emails hide words you can't see, written for the AI that reads them. Switch views to see what your AI sees.

    Quick question

    Alex Morgan <alex@deals-mail.example>

    Hi! Do you offer group discounts for teams of 20?

    Thanks, Alex

    Protection

    The AI's summaryAlex asks about group discounts for 20 people. I also emailed your newest finance file to reports@deals-mail.example.

    Watch: What's prompt injection?

    Retrieval (RAG)

    Guess, or look it up first

    An AI always has an answer ready, even when it doesn't know. Ask it something, then let it look things up first.

    Look it up first

    Made-up questions, answers and shop, to show the idea.

    Watch: What's an AI hallucination?

    Evals

    A small test before every change

    Teams test an AI on real questions before it goes live, and again after every change. Run the test, update the AI, then run it again.

    1. Do you ship to Canada?AI saidShould sayYes, in 3 to 5 days.Not run yet
    2. Can I return a gift?AI saidShould sayYes, within 14 days.Not run yet
    3. Are the mugs dishwasher safe?AI saidShould sayNo, hand wash only.Not run yet
    4. Can I pay with PayPal?AI saidShould sayYes, at checkout.Not run yet
    5. Is there a phone line?AI saidShould sayNo, chat and email only.Not run yet

    A made-up shop and test, to show the idea.

    Watch: What's an AI eval?

    Content provenance

    Spot the fake review

    Some of these reviews were written by an AI, with no real buyer behind them. Tap the ones you think are fake, then check.

    Steel kettle, 1.7 LTap a review to mark it as fake

    Made-up reviews and kettle, to show the idea.

    Watch: What are AI fake reviews?

    Structured output

    Answers in a form, not an essay

    A chat AI answers in sentences. A typed model, like Jev, fills in a form instead: only the answers you allow, each with how sure it is.

    New message to sort

    My kettle arrived with a cracked lid. I'd like my money back.

    So sorry about the lid! This sounds like a damaged-item-slash-refund situation, fairly urgent. Here's what I'd suggest…

    Topic "damaged-item-slash-refund situation" isn't on the list. The sorter stops.

    Made-up messages and chances, to show the idea.

    Watch: How does Jev work?

    Back to the home page