|
Formatron v0.4.2
Formatron empowers everyone to control the output format of language models with minimal overhead.
|
Go to the source code of this file.
Classes | |
| class | formatron.schemas.pydantic.FieldInfo |
| A wrapper for pydantic FieldInfo. More... | |
| class | formatron.schemas.pydantic.ClassSchema |
| A wrapper for pydantic BaseModel that implements the Schema interface. More... | |
Namespaces | |
| namespace | formatron |
| namespace | formatron.schemas |
| This subpackage contains modules that define schemas creation from various sources. | |
| namespace | formatron.schemas.pydantic |
| A module that implements the Schema interface using pydantic. | |
Functions | |
| CallableT | formatron.schemas.pydantic.callable_schema (CallableT func, *, ConfigDict config=None, bool validate_return=False) |
| A decorator that wraps pydantic's validate_call. | |
Variables | |
| formatron.schemas.pydantic.CallableT = typing.TypeVar('CallableT', bound=typing.Callable) | |