gpt_engineer.applications.cli.learning.human_review_input

gpt_engineer.applications.cli.learning.human_review_input() Review | None[source]

Interactively prompts the user to review the generated code and returns their feedback encapsulated in a Review object.

This function will first check if the user has given consent to collect their feedback. If consent is given, it will ask the user a series of questions about the generated code’s performance and capture their responses.

Returns:

A Review object containing the user’s feedback, or None if consent is not given.

Return type:

Optional[Review]