-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BFCL] Multi Turn Pipeline Robustness Patch (#724)
This PR adds checks to prevent unsafe function calls from being run and potentially breaking the evaluation pipeline. 1. In GorillaFileSytem, the `xargs` method is removed. This will not affect the dataset entries, and that function is not used in any entries. 2. In `execute_multi_turn_func_call`, an input filter has been implemented to prevent the execution of unsafe function calls like `kill`, `exit`, `remove`, etc. --------- Co-authored-by: Shishir Patil <30296397+ShishirPatil@users.noreply.github.com>
- Loading branch information
1 parent
a79d891
commit b12bc0f
Showing
2 changed files
with
11 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters