gpt-engineer
0.3.1

GET STARTED:

  • Introduction
  • Installation
  • Quickstart

USER GUIDES:

  • Windows Setup
  • Using with open/local models
  • Which open model to use?
  • Running the Example
  • Using Open Router models
  • Using Azure models
  • Tracing and Debugging with Weights and Biases

CONTRIBUTE:

  • Contributing to gpt-engineer
  • Roadmap
  • How you can help out
  • Contributor Covenant Code of Conduct
  • Disclaimer
  • Building Docs with Sphinx
  • Terms of Use

PACKAGE API:

  • API Reference
    • gpt_engineer.applications: Applications
      • Classes
      • Functions
        • gpt_engineer.applications.cli.collect.collect_and_send_human_review
        • gpt_engineer.applications.cli.collect.collect_learnings
        • gpt_engineer.applications.cli.collect.send_learning
        • gpt_engineer.applications.cli.learning.ask_collection_consent
        • gpt_engineer.applications.cli.learning.ask_for_valid_input
        • gpt_engineer.applications.cli.learning.check_collection_consent
        • gpt_engineer.applications.cli.learning.extract_learning
        • gpt_engineer.applications.cli.learning.get_session
        • gpt_engineer.applications.cli.learning.human_review_input
        • gpt_engineer.applications.cli.main.compare
        • gpt_engineer.applications.cli.main.concatenate_paths
        • gpt_engineer.applications.cli.main.format_installed_packages
        • gpt_engineer.applications.cli.main.get_installed_packages
        • gpt_engineer.applications.cli.main.get_preprompts_path
        • gpt_engineer.applications.cli.main.get_system_info
        • gpt_engineer.applications.cli.main.load_env_if_needed
        • gpt_engineer.applications.cli.main.load_prompt
        • gpt_engineer.applications.cli.main.main
        • gpt_engineer.applications.cli.main.prompt_yesno
    • gpt_engineer.benchmark: Benchmark
    • gpt_engineer.core: Core
    • gpt_engineer.tools: Tools
gpt-engineer
  • API Reference
  • gpt_engineer.applications.cli.learning.ask_collection_consent
  • View page source

gpt_engineer.applications.cli.learning.ask_collection_consent

gpt_engineer.applications.cli.learning.ask_collection_consent() → bool[source]

Asks the user for their consent to store their data for the purpose of improving the GPT Engineer tool.

The user’s response is recorded in a file for future reference. If the user consents, the function will write ‘true’ to the file. If the user does not consent, no data will be collected, and the function will not modify the file.

Returns:

True if the user consents, False otherwise.

Return type:

bool

Previous Next

© Copyright 2023 Anton Osika.

Built with Sphinx using a theme provided by Read the Docs.