GptConfig class

Represents the gpt node in build.yaml

Constructors

GptConfig({required GptModel model, required String description, required int maxInputLength, required double? temperature, required List<I18nLocale> excludes})
const

Properties

description String
The app description that will be part of the "system" prompt. Usually, this provides the GPT model with some context for more accurate results.
final
excludes List<I18nLocale>
List of excluded target locales.
final
hashCode int
The hash code for this object.
no setterinherited
maxInputLength int
The maximum amount of characters that can be sent to the GPT API in one request. Lower values will result in more requests.
final
model GptModel
The GPT model that should be used.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
temperature double?
The temperature parameter for the GPT API (if supported).
final

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

Static Methods

fromMap(Map<String, dynamic> map) GptConfig