GenerationConfig class
Configuration parameters to use for content generation.
Constructors
Properties
- candidateCount ↔ int?
-
The max unique responses to return.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxOutputTokens ↔ int?
-
The max tokens to generate per response.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stopSequences
↔ List<
String> ? -
A list of strings to stop generation on occurrence of.
getter/setter pair
- temperature ↔ double?
-
The degree of randomness in token selection, typically between 0 and 1.
getter/setter pair
- topK ↔ int?
-
The sum of probabilities to collect to during token selection.
getter/setter pair
- topP ↔ double?
-
How many tokens to select amongst the highest probabilities.
getter/setter pair
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