OnUserMessageCallback

Callback executed when a user message is received before an invocation starts.

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(invocationContext: InvocationContext, userMessage: Content): Content

Callback executed when a user message is received before an invocation starts.