YlsAgiClient class abstract

Implementers

Constructors

YlsAgiClient({required ClientConfig config})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
Whether the underlying Arc is disposed.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

chat({required Provider provider, required ChatRequest request}) Future<ChatResponse>
chatStream({required Provider provider, required ChatRequest request}) Stream<ChatChunk>
dispose() → void
Dispose the underlying Arc.
inherited
generateChatgptImage({required ChatGptImageRequest request}) Future<ChatGptImageResponse>
generateGeminiImage({required GeminiImageRequest request}) Future<GeminiImageResponse>
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