Lesson 2 Demo

Teach Byte To Understand The Request

Focus: before a personal AI assistant answers, it should decide what the user wants.

What we are checking Can Byte choose one allowed intent label and suggest the next step? Model fixed: openrouter/free. No reminders or memory are created.
1. Intent Classify the user's request before replying.
2. Labels Choose from six fixed labels only.
3. Assistant Link This is how the personal AI assistant decides what skill to use.

Code Demo: Rule-Based Classifier

This catch-up version shows how labels route a message.

Tip: keep the function named start. The classifier must choose one label from the allowed list.

Demo Controls

Use one message to compare your code label with the real AI classifier.

Use safe classroom examples. The sandbox should label the message, not perform the action.

Ask a Question Get a Recommendation Create a Reminder Make a Plan Save a Preference Other
Code Simulation Ready

        

Real AI Result: Intent Classifier

This is the actual AI classification for the same message. It must use one fixed label.

openrouter/free

Session only. The key is sent to the secure Worker for this request, not saved in the page.

Demo Review

  • Is the lesson focus clear within 10 seconds?
  • Can you compare code output with real AI output?
  • Does every output use one allowed label?
  • Does the demo make clear that no real action is created?