FlutterGemmaWeb class

Inheritance

Constructors

FlutterGemmaWeb()

Properties

hashCode int
The hash code for this object.
no setterinherited
isInitialized Future<bool>
no setteroverride
llmInference LlmInference?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getChatResponse({required Iterable<Message> messages, int chatContextLength = 4}) Future<String?>
inherited
getChatResponseAsync({required Iterable<Message> messages, int chatContextLength = 4}) Stream<String?>
inherited
getResponse({required String prompt}) Future<String?>
override
getResponseAsync({required String prompt}) Stream<String?>
override
init({int maxTokens = 1024, double temperature = 1.0, int randomSeed = 1, int topK = 1}) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
streamPartialResults(dynamic partialResults, bool complete) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

registerWith(Registrar registrar) → void