🔥 3-day streak
GitHub Copilot190 / 190
Question 190 of 190
A developer needs Copilot Chat to generate log-parsing functions that must return output in a very specific, non-obvious custom JSON shape used by their internal tooling. Their first zero-shot prompt ("Write a function to parse this log line into JSON") repeatedly produces a reasonable but structurally different JSON layout than the one their pipeline requires. Which prompt-engineering adjustment is most likely to make Copilot conform to the required structure?
Reviewed for accuracy · Report an issue