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.
Constructors
- InferenceFormat()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- promptGenerator → PromptGenerator
-
Renders the prompt snippet describing the format and the catalogs.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createParser(
) → Parser - Creates a parser for one LLM response.
-
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