BigModelAIGenerator class
- Implemented types
Constructors
- BigModelAIGenerator.new({required String apiKey, String model = MODEL_glm_4_5_air})
Properties
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
Constants
- MODEL_glm_4_5_air → const String
- MODEL_glm_4_5_flash → const String
- MODEL_glm_z1_flash → const String