GenerationConfig class
GenerationConfig is used when we want to declare response types
- Annotations
-
- @unfreezed
Constructors
Properties
-
copyWith
→ $GenerationConfigCopyWith<
GenerationConfig> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxOutputTokens ↔ int?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stopSequences
↔ List<
String> ? -
getter/setter pairinherited
- temperature ↔ double?
-
getter/setter pairinherited
- topK ↔ int?
-
getter/setter pairinherited
- topP ↔ double?
-
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
jsonToList(
List list) → List< GenerationConfig>