# AfterModelCallback

interface AfterModelCallback : Callback

Callback invoked immediately after a model call has completed.

## Types

Companion
Link copied to clipboard
object Companion

## Properties

name
Link copied to clipboard
open val name: String

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

## Functions

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

Callback executed after a response is received from the model.