BigModelAIGenerator class

Implemented types

Constructors

BigModelAIGenerator.new({required String apiKey, String model = MODEL_glm_4_5_air})

Properties

apiKey String
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
model String
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
override
generate(String prompt, {String systemPrompt = "", int maxTokens = 1024, bool withThinking = false, bool jsonResponse = false}) Future<String>
override
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