Add example of LLM recall prompt to variables lesson - #2006
Conversation
✅ Deploy Preview for cyf-curriculum ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for cyf-common ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
hey @Poonam-raj as we discussed today, here's an example of prompt to include in the chapter for trainees. Let me know it this helps. |
Poonam-raj
left a comment
There was a problem hiding this comment.
Some bits just needed to supplement the prompt suggestion. Prompt works well though I can see this making a difference
|
|
||
| ### Putting it into practice | ||
|
|
||
| You can use an LLM such as Claude or ChatGPT as an interactive tutor. For example, copy this prompt: |
There was a problem hiding this comment.
| You can use an LLM such as Claude or ChatGPT as an interactive tutor. For example, copy this prompt: | |
| You could use an LLM such as Claude or ChatGPT as an interactive tutor. For example, copy this prompt: |
| Ask me to predict what the code prints and explain each concept. Give me hints before | ||
| revealing any answers. | ||
| ``` | ||
|
|
There was a problem hiding this comment.
Could add a brief explanation of what this prompt will do: we're telling it to make a quiz about the concept we're learning here, with a specific goal to help us learn, not just give us information
or similar
| revealing any answers. | ||
| ``` | ||
|
|
||
| #### Sample discussion |
There was a problem hiding this comment.
this just needs a bit of expansion - like here's an example of what you might see in the chat.

Add an example prompt that trainees can use to practise JavaScript variables with an LLM.
The prompt asks the LLM to act as a tutor: it asks one question at a time and gives hints before revealing the answer. A sample discussion shows trainees how this approach supports active recall without giving answers in advance.
https://deploy-preview-2006--cyf-curriculum.netlify.app/itp/javascript-fundamentals/sprints/2/prep/#variables