Interface PicoLLMStreamCallback


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

    Modifier and Type
    Method
    Description
    void
    Callback method invoked when a token has been generated by picoLLM.
  • Method Details

    • callback

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