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) Async callback before LLM invocation.Callbacks.BeforeModelCallbackSync.call(CallbackContext callbackContext, LlmRequest llmRequest) -
Uses of LlmRequest in com.google.adk.flows.llmflows
Methods in com.google.adk.flows.llmflows that return LlmRequestModifier and TypeMethodDescriptionabstract LlmRequestRequestProcessor.RequestProcessingResult.updatedRequest()Methods in com.google.adk.flows.llmflows with parameters of type LlmRequestModifier and TypeMethodDescriptionRequestProcessor.RequestProcessingResult.create(LlmRequest updatedRequest, Iterable<Event> events) 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.protected io.reactivex.rxjava3.core.Single<RequestProcessor.RequestProcessingResult> BaseLlmFlow.preprocess(InvocationContext context, LlmRequest llmRequest) Pre-processes the LLM request before sending it to the LLM.io.reactivex.rxjava3.core.Single<RequestProcessor.RequestProcessingResult> AgentTransfer.processRequest(InvocationContext context, LlmRequest request) io.reactivex.rxjava3.core.Single<RequestProcessor.RequestProcessingResult> Basic.processRequest(InvocationContext context, LlmRequest request) io.reactivex.rxjava3.core.Single<RequestProcessor.RequestProcessingResult> Contents.processRequest(InvocationContext context, LlmRequest request) io.reactivex.rxjava3.core.Single<RequestProcessor.RequestProcessingResult> Examples.processRequest(InvocationContext context, LlmRequest request) io.reactivex.rxjava3.core.Single<RequestProcessor.RequestProcessingResult> Identity.processRequest(InvocationContext context, LlmRequest request) io.reactivex.rxjava3.core.Single<RequestProcessor.RequestProcessingResult> Instructions.processRequest(InvocationContext context, LlmRequest request) io.reactivex.rxjava3.core.Single<RequestProcessor.RequestProcessingResult> RequestProcessor.processRequest(InvocationContext context, LlmRequest request) Process the LLM request as part of the pre-processing stage. -
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) -
Uses of LlmRequest in com.google.adk.models.langchain4j
Methods in com.google.adk.models.langchain4j with parameters of type LlmRequestModifier and TypeMethodDescriptionLangChain4j.connect(LlmRequest llmRequest) io.reactivex.rxjava3.core.Flowable<LlmResponse> LangChain4j.generateContent(LlmRequest llmRequest, boolean stream)