BackendGrammarConstraintsSupport class abstract
Optional backend capability for reporting grammar-constrained decoding.
Backends that do not support llama.cpp-style GBNF grammar constraints can implement this so high-level chat rendering keeps prompt/parser behavior while avoiding unsupported grammar parameters.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supportsGrammarConstraints → bool
-
Whether GenerationParams.grammar and related grammar fields are supported.
no setter
Methods
-
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