# Interface ResponseProcessor

public interface ResponseProcessor
Interface for processing LLM responses.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static class`
  `ResponseProcessor.ResponseProcessingResult`
  Result of response processing.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `io.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).