File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def evaluate(
42
42
43
43
A note on evaluation_criteria:
44
44
`response_match_score`: This metric compares the agents final natural
45
- language reponse with the expected final response, stored in the
45
+ language response with the expected final response, stored in the
46
46
"reference" field in test/eval files. We use Rouge metric to compare the
47
47
two responses.
48
48
Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ def _merge_function_response_events(
310
310
function_response_events: A list of function_response events.
311
311
NOTE: function_response_events must fulfill these requirements: 1. The
312
312
list is in increasing order of timestamp; 2. the first event is the
313
- initial function_reponse event; 3. all later events should contain at
313
+ initial function_response event; 3. all later events should contain at
314
314
least one function_response part that related to the function_call
315
315
event. (Note, 3. may not be true when aync function return some
316
316
intermediate response, there could also be some intermediate model
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ def create(
231
231
if not responses :
232
232
return cls (responses = [])
233
233
elif isinstance (responses [0 ], LlmResponse ):
234
- # reponses is list[LlmResponse]
234
+ # responses is list[LlmResponse]
235
235
return cls (responses = responses )
236
236
else :
237
237
responses = [
You can’t perform that action at this time.
0 commit comments