AIRequest class

A request to an AI provider.

Constructors

AIRequest({required List messages, AIConfig? configOverride, int? maxTokens, double? temperature, bool stream = false})
const

Properties

configOverride AIConfig?
Override configuration for this specific request.
final
hashCode int
The hash code for this object.
no setterinherited
maxTokens int?
Maximum tokens for this request.
final
messages List
The messages to send (conversation history).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream bool
Whether to stream the response.
final
temperature double?
Temperature for this request.
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