guardrails
guardrails copied to clipboard
Rename SimilarToList to SimilarToPreviousValues
imo SimlarToList or SimilarToValues are better names than previous values (that's not a strong opinion though). When last I used the validator, it seemed unintuitive to pass prev_values
as a param (stronger opinion).
What do you think of this?
- Keep SimilarToList as the name
- rename
prev_values
tocomparison_list
orcomparison_values
closing - been a while, we have these on the hub submission https://hub.guardrailsai.com/validator/guardrails/similar_to_previous_values