Class ResponseProcessor.ResponseProcessingResult
java.lang.Object
com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
- Enclosing interface:
ResponseProcessor
响应处理的结果。
-
构造函数概述
Constructors -
方法概述
Modifier and TypeMethodDescriptioncreate(LlmResponse updatedResponse, Iterable<Event> events) create(LlmResponse updatedResponse, Iterable<Event> events, String transferToAgent) events()在处理过程中生成的事件。需要转移到的代理(agent)。abstract LlmResponse更新后的大型语言模型(LLM)响应。
-
构造函数详细信息
-
ResponseProcessingResult
public ResponseProcessingResult()
-
-
方法详细信息(Method Details)
-
updatedResponse
更新后的大型语言模型(LLM)响应。这是大型语言模型(LLM)生成的响应结果,将会被返回给客户端。
-
events
-
transferToAgent
-
create
public static ResponseProcessor.ResponseProcessingResult create(LlmResponse updatedResponse, Iterable<Event> events, String transferToAgent) -
create
public static ResponseProcessor.ResponseProcessingResult create(LlmResponse updatedResponse, Iterable<Event> events)
-