CommonGoogleGenPlugin class abstract
Constructors
Properties
Methods
-
createEmbedder(
String embedderName) → Embedder -
createModel(
String modelName, SchemanticType customOptions) → Model -
getApiClient(
[String? requestApiKey]) → Future< GenerativeLanguageBaseClient> -
handleException(
Object e, StackTrace stack) → GenkitException -
init(
) → Future< List< Action> > -
Called when the plugin is initialized.
inherited
-
list(
) → Future< List< ActionMetadata> > -
Called to list actions provided by the plugin.
inherited
-
middleware(
) → List< GenerateMiddlewareDef> -
Middleware provided by the plugin.
inherited
-
model(
String name) → Model -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
String actionType, String name) → Action? - Called to resolve an action by name.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited