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

Go to the source code of this file.

Classes

class  formatron.schemas.schema.FieldInfo
 An abstract field info that describes a data field in a schema. More...
 
class  formatron.schemas.schema.TypeWithMetadata
 A type with metadata. More...
 
class  formatron.schemas.schema.Schema
 An abstract schema that describes some data. More...
 
class  formatron.schemas.schema.SubstringOf
 A metadata class that indicates that the field is a substring of the given string. More...
 

Namespaces

namespace  formatron
 
namespace  formatron.schemas
 This subpackage contains modules that define schemas creation from various sources.
 
namespace  formatron.schemas.schema
 This module contains the Schema abstract class and FieldInfo abstract class.