Case Study

Debugging a Code Completion Prompt

A developer is using a language model to complete a JSON object. Analyze the provided prompt and the model's output. Explain why the model likely failed to produce a complete, syntactically valid object, and then write a revised prompt that is more likely to succeed.

0

1

Updated 2025-10-04

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science