-
Notifications
You must be signed in to change notification settings - Fork 3
EvalProvider using RestrictedPython [Depends on #519]
#520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
c192c78
Fresh diff
kiranandcode ea3d25c
remove instructionhandler
eb8680 f83d312
updated internal interface to make all tests pass
kiranandcode d8d52e7
fixed caching tests
kiranandcode a322a35
updated llm.ipynb
kiranandcode 41beb78
removed unnecessarily defensive validation
kiranandcode 1400d19
updated tool call decoding to use concrete type of tool result instea…
kiranandcode a06296d
updated completions to fix basic type errors
kiranandcode c47abd6
updated call assistant to handle decoding tool calls
kiranandcode 43e5b78
dropped stale comments
kiranandcode 6bb2b13
moved model and param model back to internals of `completions`
kiranandcode 88da657
added default encodable instance for Callable
kiranandcode 88c65ee
fixed type errors
kiranandcode 18da11b
update to use more structured type for synthesis
kiranandcode 52df3f6
updated callable encoding tests
kiranandcode 4b10ac3
s/TypeError/NotImplementedError
kiranandcode 2a8af94
Merge branch 'master' into kg-encodable-default
kiranandcode 2b4449a
simplified smart constructor
kiranandcode 553450f
bare callables not allowed
kiranandcode aac0eb9
droped synthesis and removed encoding_instructions
kiranandcode 5b3a559
fixed imports
kiranandcode 711b27d
fixed imports and tests
kiranandcode 3f1aa65
added restricted python again
kiranandcode fd4041e
added test for custom policies for restricted python
kiranandcode fbe478f
more specific arguments to RestrictedEvalProvider and made exec more …
kiranandcode 6aa4d1b
reverted flags for customizing rglobals, using same rglobals for loca…
kiranandcode 4f0c963
fixed failing tests (env was not being mutated)
kiranandcode 86d8b41
Merge branch 'master' into kg-restricted-eval
kiranandcode 1998d38
updated restricted python to be a llm dependency
kiranandcode File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.