Documentation for v0.6.3, an older release. Read v0.9.0, the latest release

Basic App Example

On this page

Path: example/basic_app

This example is the fastest way to inspect core API usage in a console app.

Run#

cd example/basic_app
dart pub get
dart run

Test#

cd example/basic_app
dart test

What it demonstrates#

  • Engine initialization.
  • Model loading and teardown.
  • Streaming token generation.
  • Small-footprint project setup for non-Flutter Dart apps.

Searches the latest release. Esc to close.