Commit f69cd1a
authored
feat: Structured Output support (#231)
* Structured Output support
Added structured output support for chat. Tested all model providers + streaming.
We now also include the usage as part of the TextGenerationOutput. This was nice because it led to finding a bug in usage reporting for gemini in streaming.
Unit tests included as well
* Update pyproject.toml and uv.lock to both match newest version
---------
Signed-off-by: Kyle Qian <kylexqian@gmail.com>1 parent 2bdf629 commit f69cd1a
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments