AiGenerator class abstract
Constructors
- AiGenerator.createBailianWith({required String model, required String apiKey})
-
factory
- AiGenerator.createBailianWith_qwen_plus({required String apiKey})
-
factory
- AiGenerator.createBigModelWith({required String apiKey, required String model})
-
factory
- AiGenerator.createBigModelWith_glm_4_5_air({required String apiKey})
-
factory
- AiGenerator.createBigModelWith_glm_4_5_flash({required String apiKey})
-
factory
- AiGenerator.createOpenAIWith({required String baseUrl, required String apiKey, required String model})
-
factory
- AiGenerator.createQianfanWith({required String apiKey, required String model})
-
factory
- AiGenerator.createQianfanWith_ernie_3_5_8k({required String apiKey})
-
factory
Properties
Methods
-
close(
) → void -
generate(
String prompt, {String systemPrompt = "", int maxTokens = 1024, bool withThinking = true, bool jsonResponse = false}) → Future< String> -
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