LLMGenerationOptions class

Options for LLM text generation Matches Swift's LLMGenerationOptions

Constructors

LLMGenerationOptions({int maxTokens = 100, double temperature = 0.8, double topP = 1.0, List<String> stopSequences = const [], bool streamingEnabled = false, InferenceFramework? preferredFramework, String? systemPrompt})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
maxTokens int
final
preferredFramework InferenceFramework?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stopSequences List<String>
final
streamingEnabled bool
final
systemPrompt String?
final
temperature double
final
topP double
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