Back to the lesson

Original working file

START-HERE.txt

Code and working example pages keep their original identifiers and sample text. The lesson and file guidance explain them in your language.

PRACTICAL ROUTE

Goal: make the supplied fictional café chatbot answer from your notes and show the matching source. You do not need to write HTML or JavaScript. Use a coding assistant to work with the complete folder; you edit the facts and check the behavior.

1. Open practice/index.html for the account-free, scripted evidence exercise. It is not a live AI model.
2. For actual AI replies, follow run-locally.txt with your own Google AI Studio key, model ID and private LAB_TOKEN. Run npm install, then npm run dev.
3. Open the local URL shown by Netlify Dev. The practice access code is LAB_TOKEN, not your Google key.
4. Ask the supplied test questions and follow each source link. Record observed results in evaluation.txt.
5. Edit only records.json for new café facts. npm run dev runs sync-records.mjs first; after an edit, npm run sync:notes updates the server data, source page and local practice copy. Restart the dev server and reload before retesting.

The café is fictional. Never put real credentials in public/ or Git. Account availability and quota apply to live AI requests.