SamplerConfig class

Constructors

SamplerConfig({double? temperature, int? topK, double? topP, double? minP, double? repeatPenalty, double? presencePenalty, double? frequencyPenalty, String? grammarString})

Properties

frequencyPenalty → double?
final
grammarString → String?
final
hashCode → int
The hash code for this object.
no setterinherited
minP → double?
final
presencePenalty → double?
final
repeatPenalty → double?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
temperature → double?
final
topK → int?
final
topP → double?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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