BailianAIGenerator class
- Implemented types
Constructors
- BailianAIGenerator({required String apiKey, String model = MODEL_qwen_plus})
Properties
Methods
-
close(
) → void -
override
-
generate(
String prompt, {String systemPrompt = "", int maxTokens = 1024, bool withThinking = false, bool jsonResponse = true}) → 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_qwen_plus → const String