Class InternalPuppyChatterInitializer

java.lang.Object
rocks.imsofa.ai.puppychatter.gemini.InternalPuppyChatterInitializer

public class InternalPuppyChatterInitializer extends Object
Several functionalities in the gemini package require a PuppyChatter instance, this class facilitates the initialization of that instance. By default, this class will create an OpenrouterPuppyChatter instance with no cache service and use the following environment variable to initialize it (via System.getenv (at first) or System.getProperty):
  • PUPPYCHATTER_OPENROUTER_API_KEY
  • PUPPYCHATTER_OPENROUTER_DEFAULT_MODEL
Users can also use the static method setPuppyChatter to set a custom OpenAICompatiblePuppyChatter instance.
  • Constructor Details

    • InternalPuppyChatterInitializer

      public InternalPuppyChatterInitializer()
  • Method Details