Formatron v0.4.2
Formatron empowers everyone to control the output format of language models with minimal overhead.
Loading...
Searching...
No Matches
Class Hierarchy
This inheritance list is sorted roughly, but not completely, alphabetically:
[detail level 1234]
 Cabc.ABC
 Cformatron.extractor.ExtractorAn abstract extractor that extracts data from a string and offers its KBNF rules definition
 Cformatron.extractor.LiteralExtractorAn extractor that extracts a literal string
 Cformatron.extractor.NonterminalExtractorAn extractor that extracts data corresponding to a nonterminal
 Cformatron.extractor.ChoiceExtractorAn extractor that uses multiple extractors to extract data
 Cformatron.extractor.SubstringExtractorAn extractor that extracts a substring of a given string from the input string
 Cformatron.formats.json.JsonExtractorAn extractor that loads json data to an object from a string
 Cformatron.formats.regex.RegexExtractorAn extractor that extracts a string using a regular expression
 Cformatron.formatter.FormatterBaseAn abstract Formatter that enforces a format on the string generated by a language model
 Cformatron.formatter.Formatter
 Cformatron.schemas.schema.FieldInfo
 Cformatron.schemas.dict_inference.FieldInfo
 Cformatron.schemas.json_schema.FieldInfo
 Cformatron.schemas.schema.SchemaAn abstract schema that describes some data
 Cformatron.schemas.pydantic.ClassSchemaA wrapper for pydantic BaseModel that implements the Schema interface
 Cformatron.config.EngineGenerationConfigConfiguration for how an KBNF engine should be used in text generation
 Cformatron.schemas.pydantic.FieldInfoA wrapper for pydantic FieldInfo
 Cformatron.formatter.FormatterBuilderA builder for creating a Formatter
 Cformatron.integrations.vllm.FormattersLogitsProcessorLogit processor that uses formatters to mask batch logits
 Crwkv.utils.PIPELINE
 Cformatron.integrations.RWKV.PIPELINEA wrapper for the pipeline of RWKV
 Crwkv.utils.PIPELINE_ARGS
 Cformatron.integrations.RWKV.PIPELINE_ARGSA wrapper for the arguments of the pipeline of RWKV
 CBaseModel
 Cformatron.schemas.pydantic.ClassSchemaA wrapper for pydantic BaseModel that implements the Schema interface
 CExLlamaV2Filter
 Cformatron.integrations.exllamav2.FormatterFilterExLlamaV2Filter that uses a formatter to mask logits
 CLogitsProcessor
 Cformatron.integrations.transformers.FormattersLogitsProcessorLogit processor that uses formatters to mask batch logits