3 Commits

Author SHA1 Message Date
Amitai Frey ddb8293d20 outputparser: improve BooleanOutputParser (#978)
The BooleanOutputParser requests the LLM to respond with a boolean,
and gives examples such as `true` or `false`. However, it only parsed
respones that include YES or NO. This commits adds more values for
parsing and changes the tests to fit them.
2024-09-12 17:16:11 -07:00
Brad Olson ec6b06e0ec test: add additional condition 2023-07-14 22:03:29 -04:00
Brad Olson 678a2a3463 feat: add boolean outputparser 2023-07-14 21:58:50 -04:00