Commit 40191e2
committed
Refactor and enhance agent tasks and tools
- Updated task definitions in notebooks to use more descriptive field names (e.g., 'query' to 'question').
- Changed the default task in domain tuning notebook from "sentiment" to "plan_execute".
- Improved agent behavior optimization by refining prompts and adding explanations for model choices.
- Enhanced search functionality in tools to provide better ticket search results and counts.
- Updated calculations for plan quality and self-correct accuracy to align with new output structures.
- Added MIPROv2 optimization step to improve agent responses based on vague prompts.
- Adjusted dataset for search agent to include more complex queries and answers.
- Updated kernel specifications across notebooks to use Python 3.13.12.1 parent 4a12acc commit 40191e2
10 files changed
Lines changed: 247 additions & 168 deletions
File tree
- notebooks
- datasets
- dspy_tasks
- tasks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | 105 | | |
173 | 106 | | |
174 | 107 | | |
| |||
178 | 111 | | |
179 | 112 | | |
180 | 113 | | |
181 | | - | |
| 114 | + | |
182 | 115 | | |
183 | 116 | | |
184 | 117 | | |
| |||
192 | 125 | | |
193 | 126 | | |
194 | 127 | | |
195 | | - | |
| 128 | + | |
196 | 129 | | |
197 | 130 | | |
198 | 131 | | |
| |||
214 | 147 | | |
215 | 148 | | |
216 | 149 | | |
217 | | - | |
| 150 | + | |
218 | 151 | | |
219 | 152 | | |
220 | 153 | | |
| |||
226 | 159 | | |
227 | 160 | | |
228 | 161 | | |
229 | | - | |
| 162 | + | |
230 | 163 | | |
231 | 164 | | |
232 | 165 | | |
| |||
239 | 172 | | |
240 | 173 | | |
241 | 174 | | |
242 | | - | |
| 175 | + | |
243 | 176 | | |
244 | 177 | | |
245 | 178 | | |
246 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
247 | 186 | | |
248 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
249 | 190 | | |
250 | 191 | | |
251 | 192 | | |
| |||
0 commit comments