You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
+
classAgentBuilder:
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