Interface RequestProcessor
- All Known Implementing Classes:
AgentTransfer
,Basic
,Contents
,Examples
,Identity
,Instructions
public interface RequestProcessor
-
Nested Class Summary
Nested Classes -
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).
-