Skip to content

Latest commit

 

History

History
144 lines (117 loc) · 3.91 KB

api_reference.rst

File metadata and controls

144 lines (117 loc) · 3.91 KB

API Reference

gpt_engineer.applications: Applications

gpt_engineer.applications

Classes

gpt_engineer

applications.cli.cli_agent.CliAgent applications.cli.file_selector.DisplayablePath

Functions

gpt_engineer

applications.cli.collect.collect_and_send_human_review applications.cli.collect.collect_learnings applications.cli.collect.send_learning applications.cli.learning.ask_collection_consent applications.cli.learning.ask_for_valid_input applications.cli.learning.check_collection_consent applications.cli.learning.extract_learning applications.cli.learning.get_session applications.cli.learning.human_review_input applications.cli.main.get_preprompts_path applications.cli.main.load_env_if_needed applications.cli.main.load_prompt applications.cli.main.main

gpt_engineer.benchmark: Benchmark

gpt_engineer.benchmark

Functions

gpt_engineer

benchmark.__main__.get_agent benchmark.__main__.main benchmark.benchmarks.gpteng.eval_tools.assert_exists_in_source_code benchmark.benchmarks.gpteng.eval_tools.check_evaluation_component benchmark.benchmarks.gpteng.eval_tools.check_language benchmark.benchmarks.gpteng.eval_tools.run_code_class_has_property benchmark.benchmarks.gpteng.eval_tools.run_code_class_has_property_w_value benchmark.benchmarks.gpteng.eval_tools.run_code_eval_function benchmark.benchmarks.gpteng.load.eval_to_task benchmark.benchmarks.gpteng.load.expect_to_assertion benchmark.benchmarks.gpteng.load.load_gpteng benchmark.benchmarks.gptme.load.load_gptme benchmark.benchmarks.load.get_benchmark benchmark.run.print_results benchmark.run.run

gpt_engineer.core: Core

gpt_engineer.core

Classes

gpt_engineer

core.base_agent.BaseAgent core.base_execution_env.BaseExecutionEnv core.default.disk_execution_env.DiskExecutionEnv core.default.disk_memory.DiskMemory core.default.simple_agent.SimpleAgent core.files_dict.FilesDict core.version_manager.BaseVersionManager

Functions

gpt_engineer

core.ai.serialize_messages core.chat_to_files.apply_diffs core.chat_to_files.chat_to_files_dict core.chat_to_files.parse_diff_block core.chat_to_files.parse_diffs core.chat_to_files.parse_hunk_header core.default.paths.memory_path core.default.paths.metadata_path core.default.simple_agent.default_config_agent core.default.steps.curr_fn core.default.steps.execute_entrypoint core.default.steps.gen_code core.default.steps.gen_entrypoint core.default.steps.improve core.default.steps.salvage_correct_hunks core.default.steps.setup_sys_prompt core.default.steps.setup_sys_prompt_existing_code core.diff.count_ratio core.diff.is_similar core.files_dict.file_to_lines_dict

gpt_engineer.tools: Tools

gpt_engineer.tools

Functions

gpt_engineer

tools.custom_steps.clarified_gen tools.custom_steps.get_platform_info tools.custom_steps.lite_gen tools.custom_steps.self_heal