InferenceFormat class abstract

One inference format bound to the catalogs of one request: the prompt that teaches the LLM the format, and the parser that reads what the LLM wrote.

Implementers

Constructors

InferenceFormat()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
promptGenerator → PromptGenerator
Renders the prompt snippet describing the format, the catalogs and the examples.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createParser() → Parser
Creates a parser bound to the format's catalogs.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited