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.flows.llmflows
Methods in com.google.adk.flows.llmflows that return LlmRequestModifier and TypeMethodDescriptionabstract LlmRequestRequestProcessor.RequestProcessingResult.updatedRequest()Updated LLM request.Methods in com.google.adk.flows.llmflows with parameters of type LlmRequestModifier and TypeMethodDescriptionRequestProcessor.RequestProcessingResult.create(LlmRequest updatedRequest, Iterable<Event> events) Creates a newRequestProcessor.RequestProcessingResult.protected io.reactivex.rxjava3.core.Flowable<Event> 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> RequestConfirmationLlmRequestProcessor.processRequest(InvocationContext invocationContext, LlmRequest llmRequest) 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 LlmRequestModifier and TypeMethodDescriptionabstract LlmRequestLlmRequest.Builder.build()static LlmRequestGeminiUtil.prepareGenenerateContentRequest(LlmRequest llmRequest, boolean sanitize) Prepares anLlmRequestfor the GenerateContent API.static LlmRequestGeminiUtil.prepareGenenerateContentRequest(LlmRequest llmRequest, boolean sanitize, boolean stripThoughts) Prepares anLlmRequestfor the GenerateContent API.static LlmRequestGeminiUtil.sanitizeRequestForGeminiApi(LlmRequest llmRequest) Sanitizes the request to ensure it is compatible with the Gemini API backend.Methods in com.google.adk.models with parameters of type LlmRequestModifier and TypeMethodDescriptionApigeeLlm.connect(LlmRequest llmRequest) abstract BaseLlmConnectionBaseLlm.connect(LlmRequest llmRequest) Creates a live connection to the LLM.Claude.connect(LlmRequest llmRequest) Gemini.connect(LlmRequest llmRequest) io.reactivex.rxjava3.core.Flowable<LlmResponse> ApigeeLlm.generateContent(LlmRequest llmRequest, boolean stream) 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) static LlmRequestGeminiUtil.prepareGenenerateContentRequest(LlmRequest llmRequest, boolean sanitize) Prepares anLlmRequestfor the GenerateContent API.static LlmRequestGeminiUtil.prepareGenenerateContentRequest(LlmRequest llmRequest, boolean sanitize, boolean stripThoughts) Prepares anLlmRequestfor the GenerateContent API.static LlmRequestGeminiUtil.sanitizeRequestForGeminiApi(LlmRequest llmRequest) Sanitizes the request to ensure it is compatible with the Gemini API backend. -
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) -
Uses of LlmRequest in com.google.adk.models.springai
Methods in com.google.adk.models.springai with parameters of type LlmRequestModifier and TypeMethodDescriptionSpringAI.connect(LlmRequest llmRequest) io.reactivex.rxjava3.core.Flowable<LlmResponse> SpringAI.generateContent(LlmRequest llmRequest, boolean stream) MessageConverter.getToolRegistry(LlmRequest llmRequest) Gets tool registry from ADK tools for internal tracking.org.springframework.ai.chat.prompt.PromptMessageConverter.toLlmPrompt(LlmRequest llmRequest) Converts an ADK LlmRequest to a Spring AI Prompt. -
Uses of LlmRequest in com.google.adk.plugins.recordings
Methods in com.google.adk.plugins.recordings that return types with arguments of type LlmRequestModifier and TypeMethodDescriptionabstract Optional<LlmRequest> LlmRecording.llmRequest()The LLM request.Methods in com.google.adk.plugins.recordings with parameters of type LlmRequestModifier and TypeMethodDescriptionabstract LlmRecording.BuilderLlmRecording.Builder.llmRequest(LlmRequest llmRequest)