Interface PicoLLMStreamCallback


  • public interface PicoLLMStreamCallback
    Interface for receiving streaming result callbacks picoLLM's `.generate()` method.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void callback​(java.lang.String token)
      Callback method invoked when a token has been generated by picoLLM.
    • Method Detail

      • callback

        void callback​(java.lang.String token)
        Callback method invoked when a token has been generated by picoLLM.
        Parameters:
        token - The generated token.