Interface ModelCallHandler

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 interface ModelCallHandler
Handler interface for model call interceptors. Implementations can wrap and modify model calls.
  • Method Summary

    Modifier and Type
    Method
    Description
    call(ModelRequest request)
    Execute a model call request.
  • Method Details

    • call

      ModelResponse call(ModelRequest request)
      Execute a model call request.
      Parameters:
      request - The model request
      Returns:
      The model response