Lesson 3 Demo

Build Byte's Recommendation Skill

Focus: compare preferences, score fixed choices, explain the result, and check whether the suggestion really fits.

What we are checking Can Byte recommend one fixed activity and explain why? Model fixed: openrouter/free. No plan, booking or memory is created.
1. Preferences Use safe choices, not private personal details.
2. Scores Add points when an activity matches the profile.
3. Assistant Link This is the recommendation skill detected in Lesson 2.

Code Demo: Activity Scorer

Edit points or reasons, then test the same profile again.

Keep the function named start. Change one score at a time and compare the result.

Test One Safe Profile

The code simulation and AI recommender use these same three choices.

Recommendation profile choices

These are classroom preferences only. Do not enter names, locations or other private information.

Reading Sprint Drawing Break Puzzle Challenge Movement Break Study With a Friend
Code Simulation Ready

        

Real AI Result: Recommendation Skill

The Worker accepts one of the five fixed choices only and checks every result before display.

openrouter/free

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

Demo Review

  • Does the reason connect to the chosen profile?
  • Do code and AI stay inside the five fixed choices?
  • What happens when two activities have the same score?
  • Could another student reasonably prefer a different result?