# Interface RequestProcessor

All Known Implementing Classes:
  `AgentTransfer, Basic, Compaction, Contents, Identity, Instructions, OutputSchema, RequestConfirmationLlmRequestProcessor`

public interface RequestProcessor
Interface for processing LLM requests.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static class`
  `RequestProcessor.RequestProcessingResult`
  Result of request processing.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `io.reactivex.rxjava3.core.Single<RequestProcessor.RequestProcessingResult>`
  `processRequest(InvocationContext context, LlmRequest request)`
  Process the LLM request as part of the pre-processing stage.

- ## Method Details

  - ### processRequest

    io.reactivex.rxjava3.core.Single<RequestProcessor.RequestProcessingResult> processRequest(InvocationContext context, LlmRequest request)
    Process the LLM request as part of the pre-processing stage.
    Parameters:
      `context` - the invocation context.
      `request` - the LLM request to process.
    Returns:
      a list of events generated during processing (if any).