Add interactive Quantum Katas learning experience to VS Code extension#3228
Conversation
…ks/learning-katas-pr
|
The only thing I really care about is having copilot/eval know about the current editor contents - the rest of my comments are just hygiene. LGTM |
joao-boechat
left a comment
There was a problem hiding this comment.
nit: should "agents", "prompts", "skills", all be in a folder centralizing all ai-related files? Just to make sure that in the future it's easy to find all of the md files and modify their behavior if necessary.
joao-boechat
left a comment
There was a problem hiding this comment.
Some of copilot thinking mentions the tool calls and internal things that the user doesn't really need to see. Would be nice if there was a way to disable showing that, the experience would be more fluid
|
The experience is very fluid and even better than the one we had at the website. I was skeptical at the idea of running everything behind copilot but somehow you made it very easy to use, can't wait to have it shipped so I can keep going with the material haha Thanks for all the work you put on this, Mine! Besides my comments above, the code LGTM! |
Staged at #3242 |
I played around with this, and found that the user can control how the Thinking parts are displayed, not us, and the setting applies to all agents, not just us. So I'm gonna call this a limitation of us being in VS Code - we'll have to write our own application if we want more control over chat behavior :/ |
Previously, the Quantum Katas were only accessible through the website. This PR adds a full in-editor learning experience, including an AI tutor via Copilot Chat.
What's new
qdk-learning/subfolder is scaffolded in the workspace with.qsfiles for each exercise. Progress is persisted inqdk-learning.json.QDK Learningchat agent backed by ~12 language model tools (show,next,previous,goto,run,check,hint,solution,reset,read-code,get-state,list-units). The agent acts as a tutor: gives hints incrementally, explains concepts, and checks solutions.Interesting files
runPrograminfrastructure), and Q# file scaffolding.src/learning/webview/.confirmInitflow that prompts workspace creation on first use.To try it
.build.py --wasm --npm --vscode)@QDK Learningagentdescription written with heavy help from Copilot