Class RequestConfirmationLlmRequestProcessor
java.lang.Object
com.google.adk.flows.llmflows.RequestConfirmationLlmRequestProcessor
- All Implemented Interfaces:
RequestProcessor
Handles tool confirmation information to build the LLM request.
-
Nested Class Summary
Nested classes/interfaces inherited from interface RequestProcessor
RequestProcessor.RequestProcessingResult -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<RequestProcessor.RequestProcessingResult> processRequest(InvocationContext invocationContext, LlmRequest llmRequest) Process the LLM request as part of the pre-processing stage.
-
Constructor Details
-
RequestConfirmationLlmRequestProcessor
public RequestConfirmationLlmRequestProcessor()
-
-
Method Details
-
processRequest
public io.reactivex.rxjava3.core.Single<RequestProcessor.RequestProcessingResult> processRequest(InvocationContext invocationContext, LlmRequest llmRequest) Description copied from interface:RequestProcessorProcess the LLM request as part of the pre-processing stage.- Specified by:
processRequestin interfaceRequestProcessor- Parameters:
invocationContext- the invocation context.llmRequest- the LLM request to process.- Returns:
- a list of events generated during processing (if any).
-