Skip to main content

Basic App Example

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.