Learn Before
Multiple Choice

A developer is using a large language model to generate a Python function for a complex data analysis task. The developer's workflow is as follows:

  1. The model generates an initial version of the function.
  2. The developer then prompts the same model, providing the initial function and asking it to 'act as a senior code reviewer, identify potential bugs or inefficiencies, and explain how to fix them.'
  3. Based on the model's feedback, a final, improved version of the function is produced.

This iterative process of generating an output, using the model to critique its own output, and then improving it based on that critique is best described as:

0

1

Updated 2025-10-01

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

Ch.5 Inference - Foundations of Large Language Models

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science

Related