gpt_engineer.applications.cli.collect.collect_and_send_human_review

gpt_engineer.applications.cli.collect.collect_and_send_human_review(prompt: Prompt, model: str, temperature: float, config: Tuple[str, ...], memory: DiskMemory)[source]

Collects human feedback on the code and sends it for analysis.

Parameters:
  • prompt (str) – The initial prompt or question that was provided to the model.

  • model (str) – The name of the model used for generating the response.

  • temperature (float) – The temperature setting used in the model’s response generation.

  • config (Tuple[str, ...]) – Configuration parameters used for the learning session.

  • memory (DiskMemory) – An instance of DiskMemory for storing and retrieving data.

Return type:

None

Notes

This function prompts the user for a review of the generated or improved code using the human_review_input function. If a valid review is provided, it’s serialized to JSON format and stored within the database’s memory under the “review” key.