0.2.2
Add Input Validation with go-playground/validator
- just add the instructor.WithValidation()
when creating your instructor client!
So a full example of this here: https://github.com/instructor-ai/instructor-go/blob/main/examples/validator/main.go.
Full Changelog: 0.2.1...0.2.2