Interface Callbacks.BeforeModelCallback
- 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.
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Maybe
<LlmResponse> call
(CallbackContext callbackContext, LlmRequest llmRequest) Async callback before LLM invocation.
-
Method Details
-
call
io.reactivex.rxjava3.core.Maybe<LlmResponse> call(CallbackContext callbackContext, LlmRequest llmRequest) Async callback before LLM invocation.- Parameters:
callbackContext
- Callback context.llmRequest
- LLM request.- Returns:
- response override, or empty to continue.
-