Skip to content

Commit 588eb3f

Browse files
authored
Create config_explain.md
1 parent 8fb8aa3 commit 588eb3f

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

docs/config_explain.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
## AgentBuilder Configuration
2+
3+
The `AgentBuilder` class provides a configurable interface for setting up your agent's behavior. Below is the default configuration, optimized for OpenAI users (due to its popularity):
4+
5+
```python
6+
class AgentBuilder:
7+
def __init__(self,
8+
planner_provider="openai",
9+
planner_model="o3-mini",
10+
writer_provider="openai",
11+
writer_model="gpt-4.1-nano",
12+
file_type="CSV",
13+
index4file="true",
14+
breadth=2):
15+
# Configurable parameters
16+
self.planner_provider = planner_provider
17+
self.planner_model = planner_model
18+
self.writer_provider = writer_provider
19+
self.writer_model = writer_model
20+
self.file_type = file_type
21+
self.index4file = index4file
22+
self.breadth = breadth
23+
```
24+
25+
### Parameter Explanations
26+
27+
- **`file_type`**:
28+
The type of the original input file. Currently, only `CSV` files are supported.
29+
30+
- **`index4file`**:
31+
Indicates whether the file includes an index column (typically the first column).
32+
Accepts `"true"` or `"false"` as string values.
33+
34+
- **`breadth`**:
35+
Defines how many agents to invoke in parallel.
36+
Each agent will generate three ideas. Ideally resulting in three tools if the code passes LLM-based evaluation.

0 commit comments

Comments
 (0)