templateGenerativeModel method

  1. @experimental
TemplateGenerativeModel templateGenerativeModel()

Returns a TemplateGenerativeModel instance.

This is an experimental API and may change in the future.

Implementation

@experimental
TemplateGenerativeModel templateGenerativeModel() {
  return createTemplateGenerativeModel(
      app: app,
      location: location,
      useVertexBackend: _useVertexBackend,
      useLimitedUseAppCheckTokens: useLimitedUseAppCheckTokens,
      auth: auth,
      appCheck: appCheck);
}