liteGen property

LiteGen get liteGen

Provides access to the Lightweight Generation module (LiteGen).

This module is optimized for faster, lower-latency responses. Automatically initializes with the apiKey on first access.

Implementation

LiteGen get liteGen {
  if (!LiteGen.instance.isInitialized) {
    LiteGen.instance.initialize(apiKey);
  }
  return LiteGen.instance;
}