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.check_collection_consent
  • View page source

gpt_engineer.applications.cli.learning.check_collection_consent

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

Checks if the user has previously given consent to store their data for feedback collection.

This function looks for a file that stores the user’s consent status. If the file exists and contains ‘true’, consent is assumed. If the file does not exist or does not contain ‘true’, the function will prompt the user for consent.

Returns:

True if the user has given consent, False otherwise.

Return type:

bool

Previous Next

© Copyright 2023 Anton Osika.

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