ChatProvider class abstract

Contract for chat-capable AI providers.

Constructors

ChatProvider()

Properties

displayName → String
Human-readable provider name.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String
Stable provider id used for registration and lookup.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

complete(ChatRequest request) → Future<ChatResult>
Executes a non-streaming completion request.
describe() → Map<String, dynamic>
Returns a serializable description of the provider.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stream(ChatRequest request) → Stream<ChatEvent>
Streams chat events for the request.
toString() → String
A string representation of this object.
inherited

Operators

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