Uses of Class
com.google.adk.models.LlmRequest
Packages that use LlmRequest
Package
Description
-
Uses of LlmRequest in com.google.adk
Methods in com.google.adk with parameters of type LlmRequestModifier and TypeMethodDescriptionstatic voidTelemetry.traceCallLlm(InvocationContext invocationContext, String eventId, LlmRequest llmRequest, LlmResponse llmResponse) Traces a call to the LLM. -
Uses of LlmRequest in com.google.adk.agents
Methods in com.google.adk.agents with parameters of type LlmRequestModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Maybe<LlmResponse> Callbacks.BeforeModelCallback.call(CallbackContext callbackContext, LlmRequest llmRequest) Callbacks.BeforeModelCallbackSync.call(CallbackContext callbackContext, LlmRequest llmRequest) -
Uses of LlmRequest in com.google.adk.flows.llmflows
Methods in com.google.adk.flows.llmflows with parameters of type LlmRequestModifier and TypeMethodDescriptionprotected io.reactivex.rxjava3.core.Single<com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult> BaseLlmFlow.postprocess(InvocationContext context, Event baseEventForLlmResponse, LlmRequest llmRequest, LlmResponse llmResponse) Post-processes the LLM response after receiving it from the LLM.protected com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResultBaseLlmFlow.preprocess(InvocationContext context, LlmRequest llmRequest) Pre-processes the LLM request before sending it to the LLM.io.reactivex.rxjava3.core.Single<com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult> AgentTransfer.processRequest(InvocationContext context, LlmRequest request) io.reactivex.rxjava3.core.Single<com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult> Basic.processRequest(InvocationContext context, LlmRequest request) io.reactivex.rxjava3.core.Single<com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult> Contents.processRequest(InvocationContext context, LlmRequest request) io.reactivex.rxjava3.core.Single<com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult> Examples.processRequest(InvocationContext context, LlmRequest request) io.reactivex.rxjava3.core.Single<com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult> Identity.processRequest(InvocationContext context, LlmRequest request) io.reactivex.rxjava3.core.Single<com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult> Instructions.processRequest(InvocationContext context, LlmRequest request) -
Uses of LlmRequest in com.google.adk.models
Methods in com.google.adk.models that return LlmRequestMethods in com.google.adk.models with parameters of type LlmRequestModifier and TypeMethodDescriptionabstract BaseLlmConnectionBaseLlm.connect(LlmRequest llmRequest) Creates a live connection to the LLM.Claude.connect(LlmRequest llmRequest) Gemini.connect(LlmRequest llmRequest) abstract 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)