ChatCompletionRequest class

Constructors

ChatCompletionRequest({required String model, double? temperature, int? maxTokens, double? topP, int? topK, List<String>? stop, double? frequencyPenalty, double? presencePenalty, int? seed, ResponseFormat? responseFormat, Map<String, dynamic>? customParameters})
const

Properties

customParameters → Map<String, dynamic>?
final
frequencyPenalty → double?
final
hashCode → int
The hash code for this object.
no setterinherited
maxTokens → int?
final
model → String
final
presencePenalty → double?
final
responseFormat → ResponseFormat?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seed → int?
final
stop → List<String>?
final
temperature → double?
final
topK → int?
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