OpenAIAIGenerator class
- Implemented types
Constructors
- OpenAIAIGenerator.new({required String baseUrl, required String apiKey, required String model})
Properties
Methods
-
close(
) → void -
override
-
generate(
String prompt, {String systemPrompt = '', int maxTokens = 1024, bool withThinking = true, 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