AfterModelCallback

Callback invoked immediately after a model call has completed.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val name: String

The name of this callback, used for tracing and logging.

Functions

Link copied to clipboard
abstract suspend fun call(context: CallbackContext, response: LlmResponse): LlmResponse

Callback executed after a response is received from the model.