Commit 01c56ec
0.6.0 dev (#1138)
* 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]>1 parent ef603c3 commit 01c56ec
File tree
151 files changed
+15701
-7445
lines changed- docs
- concepts
- examples
- data
- guardrails_ai
- how_to_guides
- migration_guides
- guardrails
- actions
- applications
- classes
- execution
- history
- cli/hub
- formatters
- hub_telemetry
- hub
- prompt
- run
- schema
- telemetry
- utils
- tests
- integration_tests
- schema
- test_assets
- entity_extraction
- pydantic
- python_rail
- string
- validators
- unit_tests
- actions
- classes
- history
- cli
- hub
- hub
- integrations/databricks
- mocks
- test_assets
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
151 files changed
+15701
-7445
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 70 | | |
83 | 71 | | |
84 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
57 | 87 | | |
58 | 88 | | |
59 | | - | |
60 | 89 | | |
61 | 90 | | |
62 | 91 | | |
| |||
116 | 145 | | |
117 | 146 | | |
118 | 147 | | |
119 | | - | |
120 | 148 | | |
121 | 149 | | |
122 | 150 | | |
| |||
137 | 165 | | |
138 | 166 | | |
139 | 167 | | |
140 | | - | |
| 168 | + | |
141 | 169 | | |
142 | 170 | | |
143 | 171 | | |
| |||
151 | 179 | | |
152 | 180 | | |
153 | 181 | | |
154 | | - | |
| 182 | + | |
155 | 183 | | |
156 | 184 | | |
157 | 185 | | |
| |||
0 commit comments