Interface Callbacks.AfterModelCallback

Enclosing class:
Callbacks
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Callbacks.AfterModelCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    io.reactivex.rxjava3.core.Maybe<LlmResponse>
    call(CallbackContext callbackContext, LlmResponse llmResponse)
    Async callback after LLM response.
  • Method Details

    • call

      io.reactivex.rxjava3.core.Maybe<LlmResponse> call(CallbackContext callbackContext, LlmResponse llmResponse)
      Async callback after LLM response.
      Parameters:
      callbackContext - Callback context.
      llmResponse - LLM response.
      Returns:
      modified response, or empty to keep original.