mirror of
https://github.com/Hopiu/llm.git
synced 2026-05-16 09:43:12 +00:00
parent
62c90dd472
commit
42122c79ba
2 changed files with 11 additions and 1 deletions
|
|
@ -1,5 +1,15 @@
|
|||
# Changelog
|
||||
|
||||
(v0_23_a0)=
|
||||
## 0.23a0 (2025-02-26)
|
||||
|
||||
Alpha release adding support for **schemas**, for getting supported models to output JSON that matches a specified JSON schema. [#776](https://github.com/simonw/llm/issues/776)
|
||||
|
||||
- `llm prompt --schema '{JSON schema goes here}` option for specifying a schema that should be used for the output from the model, see {ref}`schemas in the CLI docs <usage-schemas>`.
|
||||
- `model.prompt(..., schema={...})` parameter for specifying a schema from Python. This accepts either a dictionary JSON schema definition of a Pydantic `BaseModel` subclass, see {ref}`schemas in the Python API docs <python-api-schemas>`.
|
||||
- The default OpenAI plugin now supports schemas across all models.
|
||||
- Documentation on how to {ref}`add schema support to a model plugin <advanced-model-plugins-schemas>`.
|
||||
|
||||
(v0_22)=
|
||||
## 0.22 (2025-02-16)
|
||||
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -1,7 +1,7 @@
|
|||
from setuptools import setup, find_packages
|
||||
import os
|
||||
|
||||
VERSION = "0.22"
|
||||
VERSION = "0.23a0"
|
||||
|
||||
|
||||
def get_long_description():
|
||||
|
|
|
|||
Loading…
Reference in a new issue