2 ms·
You might want to try Instructor with llm_validator, where you can have natural language clauses to check against in a loop: https://python.useinstructor.com/bl
by luke-stanley 2y ago
You might want to try Instructor with llm_validator, where you can have natural language clauses to check against in a loop:
https://python.useinstructor.com/blog/2023/10/23/good-llm-validation-is-just-good-validation/?h=good#software-30-validation-for-llms-or-powered-by-llms https://python.useinstructor.com/blog/2023/10/23/good-llm-va...
With Pydantic too of course!