LLMConfigDto class

Annotations
  • @JsonSerializable()

Constructors

LLMConfigDto.new({required String baseUrl, required String apiKey, required String model, double temperature = 0.0, int maxTokens = 4096, double topP = 1.0})
LLMConfigDto.fromJson(Map<String, dynamic> json)
factory
LLMConfigDto.fromModel(LLMConfig llmConfig)
factory

Properties

apiKey String
getter/setter pair
baseUrl String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxTokens int
getter/setter pair
model String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
temperature double
getter/setter pair
topP double
getter/setter pair

Methods

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

Operators

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