Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* reapply litellm updates to support only messages llm kwarg * tests run and make progress on rewrite, most of unit_tests_passing * migrate more tests partially * some progress * more progress * fix some more tests * fix some more tests * more progress * more tests * more tests * removed nltk dependency * remove nltk import and download from validator base * remove commented out test referencing nltk * throwing import error if nltk not available in detect_pii mock * tests passing * typing and lint * lint * typing * fix bad merge * Added rule based sentence tokenization from WordTokenizers.jl with minor modifications * Added new version of split_sentence_str using new rule based sentence tokenization * updates to factor in quotes during sentence splitting * updated poetry.lock * replaced split sentence default * testing changes using custom separator in wordtokenizer algo * fix for counting subs * reverted split sentence in validators base * reverted to pre-seperator algo, added fix for conditional white space after ?!. chars * fix for optional white space after potential line endings ?!. * added back modified seperator algo, fix for split sentence * Fix regex patterns for abbreviations in tokenization_utils_seperator.py * fix tests * remove nltk references from tests * removed older scripts * minor fixes * notebooks * last few notebooks * last books * update docs for messages * last of docs * update more docs and start migration guide * fix tests and format * update some tests * bumped api version * dep updates * renable history by default * expose messages to prompt helper and finish docs for it * indention * fix test out of main * update api client to point to its alpha * update validator default on fail behavior from no op to exception * update notebooks * Installs from private pypi with validator versioning * chore: Fix typo in pip_process function * wip: updating tests * fixed tests * fix f-string syntax error * fixed uninstall, list validators cli cmds, and tests * removed unused methods from cli hub utils * Removed writes to org namespaced init files during install, removed unused methods * fix tests associated with removal of namespace init file * update for litellm dont pass reask messages to llms * Update pyproject.toml * Update guardrails/cli/hub/uninstall.py * remove regex pypi package dependency * bumped version to 0.6.0-alpha3 * bump version to 0.6.0-alpha4 * temp workaround to raise errors on on pip processes * raise errors on install failures to avoid placing import statement * update version to 0.6.0 * updated installation tests to reflect change of behavior during exceptions in pip install subprocess --------- Co-authored-by: David Tam <[email protected]> Co-authored-by: Alejandro <[email protected]> Co-authored-by: dtam <[email protected]>
- Loading branch information