875 B
875 B
Custom validator implementation is not available in the Elixir binding. Validators must be implemented in Rust using the Validator trait.
To implement a custom validator in Rust and use it from Elixir:
- Implement the
PluginandValidatortraits in Rust - Register the validator in the Rust core
- Call extraction functions from Elixir, which will automatically apply registered validators
The validator will run after extraction completes and can reject results that don't meet validation criteria.