Interface RequestProcessor
- All Known Implementing Classes:
AgentTransfer, Basic, Compaction, Contents, Examples, Identity, Instructions, RequestConfirmationLlmRequestProcessor
public interface RequestProcessor
Interface for processing LLM requests.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classResult of request processing. -
Method Summary
Modifier and TypeMethodDescriptionio.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).
-