Formatron v0.4.9
Formatron empowers everyone to control the output format of language models with minimal overhead.
Loading...
Searching...
No Matches
dict_inference.py File Reference

Go to the source code of this file.

Classes

class  formatron.schemas.dict_inference.FieldInfo
 

Namespaces

namespace  formatron
 
namespace  formatron.schemas
 This subpackage contains modules that define schemas creation from various sources.
 
namespace  formatron.schemas.dict_inference
 This module contains utilities for inferring schemas from dictionaries.
 

Functions

Type[Any] formatron.schemas.dict_inference._infer_type (Any value)
 
typing.Type[schemas.schema.Schemaformatron.schemas.dict_inference.infer_mapping (collections.abc.Mapping[str, Any] mapping)
 Recursively infer a schema from a mapping.