44API Reference
55=============
66
7- :mod: `gpt_engineer.cli `: Cli
8- =============================
7+ :mod: `gpt_engineer.applications `: Applications
8+ ===============================================
99
10- .. automodule :: gpt_engineer.cli
10+ .. automodule :: gpt_engineer.applications
1111 :no-members:
1212 :no-inherited-members:
1313
@@ -16,35 +16,61 @@ Classes
1616.. currentmodule :: gpt_engineer
1717
1818.. autosummary ::
19- :toctree: cli
19+ :toctree: applications
2020 :template: class.rst
2121
22- cli.file_selector.DisplayablePath
22+ applications.cli.cli_agent.CliAgent
23+ applications.cli.file_selector.DisplayablePath
2324
2425Functions
2526--------------
2627.. currentmodule :: gpt_engineer
2728
2829.. autosummary ::
29- :toctree: cli
30-
31- cli.collect.collect_learnings
32- cli.collect.send_learning
33- cli.collect.steps_file_hash
34- cli.file_selector.ask_for_files
35- cli.file_selector.gui_file_selector
36- cli.file_selector.is_in_ignoring_extensions
37- cli.file_selector.terminal_file_selector
38- cli.learning.ask_collection_consent
39- cli.learning.check_collection_consent
40- cli.learning.extract_learning
41- cli.learning.get_session
42- cli.learning.human_review_input
43- cli.learning.logs_to_string
44- cli.main.load_env_if_needed
45- cli.main.load_prompt
46- cli.main.main
47- cli.main.preprompts_path
30+ :toctree: applications
31+
32+ applications.cli.collect.collect_and_send_human_review
33+ applications.cli.collect.collect_learnings
34+ applications.cli.collect.send_learning
35+ applications.cli.learning.ask_collection_consent
36+ applications.cli.learning.check_collection_consent
37+ applications.cli.learning.extract_learning
38+ applications.cli.learning.get_session
39+ applications.cli.learning.human_review_input
40+ applications.cli.main.get_preprompts_path
41+ applications.cli.main.load_env_if_needed
42+ applications.cli.main.load_prompt
43+ applications.cli.main.main
44+
45+ :mod: `gpt_engineer.benchmark `: Benchmark
46+ =========================================
47+
48+ .. automodule :: gpt_engineer.benchmark
49+ :no-members:
50+ :no-inherited-members:
51+
52+ Functions
53+ --------------
54+ .. currentmodule :: gpt_engineer
55+
56+ .. autosummary ::
57+ :toctree: benchmark
58+
59+ benchmark.__main__.get_agent
60+ benchmark.__main__.main
61+ benchmark.benchmarks.gpteng.eval_tools.assert_exists_in_source_code
62+ benchmark.benchmarks.gpteng.eval_tools.check_evaluation_component
63+ benchmark.benchmarks.gpteng.eval_tools.check_language
64+ benchmark.benchmarks.gpteng.eval_tools.run_code_class_has_property
65+ benchmark.benchmarks.gpteng.eval_tools.run_code_class_has_property_w_value
66+ benchmark.benchmarks.gpteng.eval_tools.run_code_eval_function
67+ benchmark.benchmarks.gpteng.load.eval_to_task
68+ benchmark.benchmarks.gpteng.load.expect_to_assertion
69+ benchmark.benchmarks.gpteng.load.load_gpteng
70+ benchmark.benchmarks.gptme.load.load_gptme
71+ benchmark.benchmarks.load.get_benchmark
72+ benchmark.run.print_results
73+ benchmark.run.run
4874
4975:mod: `gpt_engineer.core `: Core
5076===============================
@@ -61,7 +87,13 @@ Classes
6187 :toctree: core
6288 :template: class.rst
6389
64- core.steps.Config
90+ core.base_agent.BaseAgent
91+ core.base_execution_env.BaseExecutionEnv
92+ core.default.disk_execution_env.DiskExecutionEnv
93+ core.default.disk_memory.DiskMemory
94+ core.default.simple_agent.SimpleAgent
95+ core.files_dict.FilesDict
96+ core.version_manager.BaseVersionManager
6597
6698Functions
6799--------------
@@ -72,26 +104,48 @@ Functions
72104
73105 core.ai.serialize_messages
74106 core.chat_to_files.apply_edits
75- core.chat_to_files.format_file_to_input
76- core.chat_to_files.get_code_strings
77- core.chat_to_files.overwrite_files_with_edits
78- core.chat_to_files.parse_chat
107+ core.chat_to_files.chat_to_files_dict
108+ core.chat_to_files.overwrite_code_with_edits
79109 core.chat_to_files.parse_edits
80- core.chat_to_files.to_files
81- core.chat_to_files.to_files_and_memory
82- core.db.archive
83- core.steps.assert_files_ready
84- core.steps.clarify
85- core.steps.curr_fn
86- core.steps.execute_entrypoint
87- core.steps.gen_clarified_code
88- core.steps.gen_entrypoint
89- core.steps.get_improve_prompt
90- core.steps.human_review
91- core.steps.improve_existing_code
92- core.steps.lite_gen
93- core.steps.set_improve_filelist
94- core.steps.setup_sys_prompt
95- core.steps.setup_sys_prompt_existing_code
96- core.steps.simple_gen
97- core.steps.use_feedback
110+ core.default.paths.memory_path
111+ core.default.paths.metadata_path
112+ core.default.simple_agent.default_config_agent
113+ core.default.steps.curr_fn
114+ core.default.steps.execute_entrypoint
115+ core.default.steps.gen_code
116+ core.default.steps.gen_entrypoint
117+ core.default.steps.improve
118+ core.default.steps.incorrect_edit
119+ core.default.steps.setup_sys_prompt
120+ core.default.steps.setup_sys_prompt_existing_code
121+
122+ :mod: `gpt_engineer.tools `: Tools
123+ =================================
124+
125+ .. automodule :: gpt_engineer.tools
126+ :no-members:
127+ :no-inherited-members:
128+
129+ Classes
130+ --------------
131+ .. currentmodule :: gpt_engineer
132+
133+ .. autosummary ::
134+ :toctree: tools
135+ :template: class.rst
136+
137+ tools.experimental.document_chunker.CodeSplitter
138+ tools.experimental.document_chunker.SortedDocuments
139+
140+ Functions
141+ --------------
142+ .. currentmodule :: gpt_engineer
143+
144+ .. autosummary ::
145+ :toctree: tools
146+
147+ tools.custom_steps.clarified_gen
148+ tools.custom_steps.get_platform_info
149+ tools.custom_steps.lite_gen
150+ tools.custom_steps.self_heal
151+ tools.experimental.experimental_steps.improve_automatic_file_selection
0 commit comments