Interface ResponseProcessor
public interface ResponseProcessor
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single
<ResponseProcessor.ResponseProcessingResult> processResponse
(InvocationContext context, LlmResponse response) Process the LLM response as part of the post-processing stage.
-
Method Details
-
processResponse
io.reactivex.rxjava3.core.Single<ResponseProcessor.ResponseProcessingResult> processResponse(InvocationContext context, LlmResponse response) Process the LLM response as part of the post-processing stage.- Parameters:
context
- the invocation context.response
- the LLM response to process.- Returns:
- a list of events generated during processing (if any).
-