Skip to content

Conversation

dtam
Copy link
Contributor

@dtam dtam commented Jul 11, 2024

updates to not init validators if we intend to use the api. they are already inited on the server. the guard(/parse( in this case should essentially be a passthrough of that call to the server so it wont need the validators

this fixes validator output that shouldnt be experienced in the client api use case

to verify
https://github.com/guardrails-ai/guardrails-test/tree/main/validation_deep_dive/part3

Run config.py and part3.ipynb

@dtam dtam requested a review from zsimjee July 11, 2024 17:54
@zsimjee zsimjee merged commit b2c48b5 into 0.5.0-dev Jul 11, 2024
@zsimjee zsimjee deleted the dtam/dont_init_validators_if_we_intend_to_use_api branch July 11, 2024 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants