5 Commits

Author SHA1 Message Date
Manuel de la Peña 8d4c17fc73 ci: migrate linting golangci-lint to v2.0.2 (#1217)
* chore: use slices and maps packages

* chore: skip embedded type

* chore: use fmt.Fprint instead

* chore: use switch

* chore: reorder imports

* chore: add white lines

* chore: use t.Setenv

* chore: excplicitly omit non used param

* chore: use t.TempDir

* chore: use maps package

* chore: migrate golangci-lint config file

Run: "golangci-lint migrate -c .golangci.yaml --skip-validation"

* chore: bump golangci-lint action to v7
2025-04-12 01:54:50 -07:00
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
Eli Bendersky 556a263188 schema: move Chat* types to llms (#757)
* schema: move Chat* types to llms

This prevents a circular dependency or code duplication when using Tools
2024-04-16 23:35:51 -07:00
chyroc 55f772c21a Docs: fix comment typo (#442)
* Docs: fix comment typo

* docs: a llm -> an LLM

---------

Co-authored-by: Travis Cline <travis.cline@gmail.com>
2023-12-20 19:57:37 +00:00
Brad Olson 678a2a3463 feat: add boolean outputparser 2023-07-14 21:58:50 -04:00