Uses of Class
com.google.adk.models.LlmResponse
Packages that use LlmResponse
Package
Description
-
Uses of LlmResponse in com.google.adk
Methods in com.google.adk with parameters of type LlmResponseModifier and TypeMethodDescriptionstatic void
Telemetry.traceCallLlm
(InvocationContext invocationContext, String eventId, LlmRequest llmRequest, LlmResponse llmResponse) Traces a call to the LLM. -
Uses of LlmResponse in com.google.adk.agents
Methods in com.google.adk.agents that return types with arguments of type LlmResponseModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Maybe
<LlmResponse> Callbacks.AfterModelCallback.call
(CallbackContext callbackContext, LlmResponse llmResponse) Async callback after LLM response.Callbacks.AfterModelCallbackSync.call
(CallbackContext callbackContext, LlmResponse llmResponse) io.reactivex.rxjava3.core.Maybe
<LlmResponse> Callbacks.BeforeModelCallback.call
(CallbackContext callbackContext, LlmRequest llmRequest) Async callback before LLM invocation.Callbacks.BeforeModelCallbackSync.call
(CallbackContext callbackContext, LlmRequest llmRequest) Methods in com.google.adk.agents with parameters of type LlmResponseModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Maybe
<LlmResponse> Callbacks.AfterModelCallback.call
(CallbackContext callbackContext, LlmResponse llmResponse) Async callback after LLM response.Callbacks.AfterModelCallbackSync.call
(CallbackContext callbackContext, LlmResponse llmResponse) -
Uses of LlmResponse in com.google.adk.flows.llmflows
Methods in com.google.adk.flows.llmflows that return LlmResponseModifier and TypeMethodDescriptionabstract LlmResponse
ResponseProcessor.ResponseProcessingResult.updatedResponse()
Methods in com.google.adk.flows.llmflows with parameters of type LlmResponseModifier and TypeMethodDescriptionResponseProcessor.ResponseProcessingResult.create
(LlmResponse updatedResponse, Iterable<Event> events, Optional<String> transferToAgent) protected io.reactivex.rxjava3.core.Single
<ResponseProcessor.ResponseProcessingResult> BaseLlmFlow.postprocess
(InvocationContext context, Event baseEventForLlmResponse, LlmRequest llmRequest, LlmResponse llmResponse) Post-processes the LLM response after receiving it from the LLM.io.reactivex.rxjava3.core.Single
<ResponseProcessor.ResponseProcessingResult> ResponseProcessor.processResponse
(InvocationContext context, LlmResponse response) Process the LLM response as part of the post-processing stage. -
Uses of LlmResponse in com.google.adk.models
Methods in com.google.adk.models that return LlmResponseModifier and TypeMethodDescriptionLlmResponse.Builder.build()
static LlmResponse
LlmResponse.create
(com.google.genai.types.GenerateContentResponse response) static LlmResponse
Methods in com.google.adk.models that return types with arguments of type LlmResponseModifier and TypeMethodDescriptionabstract io.reactivex.rxjava3.core.Flowable
<LlmResponse> BaseLlm.generateContent
(LlmRequest llmRequest, boolean stream) Generates one content from the given LLM request and tools.io.reactivex.rxjava3.core.Flowable
<LlmResponse> Claude.generateContent
(LlmRequest llmRequest, boolean stream) io.reactivex.rxjava3.core.Flowable
<LlmResponse> Gemini.generateContent
(LlmRequest llmRequest, boolean stream) io.reactivex.rxjava3.core.Flowable
<LlmResponse> BaseLlmConnection.receive()
Receives the model responses.io.reactivex.rxjava3.core.Flowable
<LlmResponse> GeminiLlmConnection.receive()
-
Uses of LlmResponse in com.google.adk.models.langchain4j
Methods in com.google.adk.models.langchain4j that return types with arguments of type LlmResponseModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable
<LlmResponse> LangChain4j.generateContent
(LlmRequest llmRequest, boolean stream)