From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Review the hidden reasoning workflow
From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code
Review the hidden reasoning workflow
Your prompt isn't sent to Copilot exactly as you wrote it. Copilot uses your text as a starting point but it adds its own layers on top. It's similar to the prompt chaining we looked at earlier. Some of that process is surfaced in the chat panel. Let's see what I mean. So I have scrolled up in the chat responses to look at the history and I'm looking at this query I asked earlier. I see what looks like regex in the code, can you explain what it does? And here is the answer. You may have noticed when I send the requests to Copilot, a series of messages appear in the response window before this final answer appears. You can see those messages in this collapse section. So here's what was actually occurring when I made this query. I'll open this up and I see there's several steps initiating file inspection, identifying regex location, review the HTML, decode the regular expressions, clarify the purpose. Now my simple prompt, I see what looks like regex in the code. Can you explain what it…
Contents
-
-
-
-
-
-
(Locked)
Use chat to ask code specific questions2m 48s
-
(Locked)
Use chat to explore a project4m 18s
-
(Locked)
Explore the Word Frequency Analyzer page1m 30s
-
(Locked)
Explain a section of code5m 53s
-
(Locked)
Guidance on potential issues2m 26s
-
(Locked)
Get refactoring suggestions2m 57s
-
(Locked)
Have Copilot draft an editing prompt3m 8s
-
(Locked)
Review the hidden reasoning workflow2m 34s
-
(Locked)
Inline chat: Exploring the code editor2m 34s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-