类:RequestConfirmationLlmRequestProcessor
java.lang.Object
com.google.adk.flows.llmflows.RequestConfirmationLlmRequestProcessor
- All Implemented Interfaces:
RequestProcessor
用于处理工具确认信息,以便构建大型语言模型(LLM)的请求。
-
嵌套类概述
Nested classes/interfaces inherited from interface RequestProcessor
RequestProcessor.RequestProcessingResultModifier and TypeInterfaceDescriptionstatic class请求处理的结果。 -
构造函数概述
Constructors -
方法概述
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<RequestProcessor.RequestProcessingResult> processRequest(InvocationContext invocationContext, LlmRequest llmRequest) 将 LLM 请求作为预处理阶段的一部分进行处理。
-
构造函数详细信息
-
RequestConfirmationLlmRequestProcessor
public RequestConfirmationLlmRequestProcessor()
-
-
方法详细信息(Method Details)
-
processRequest
public io.reactivex.rxjava3.core.Single<RequestProcessor.RequestProcessingResult> processRequest(InvocationContext invocationContext, LlmRequest llmRequest) 描述内容复制自接口文档:RequestProcessor将 LLM 请求作为预处理阶段的一部分进行处理。- 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).
-