Package com.google.adk.models.springai
package com.google.adk.models.springai
-
ClassDescriptionMaps between ADK
GenerateContentConfigand Spring AIChatOptionsin both directions.Static utilities for converting between Spring AI and ADK/GenAI embedding formats and performing vector operations.Exception thrown when message conversion between ADK and Spring AI formats fails.Converts between ADK and Spring AI message, request, and response formats in both directions.Spring AI implementation of BaseLlm that wraps Spring AI ChatModel and StreamingChatModel.Spring AI embedding model wrapper that provides ADK-compatible embedding generation.Exposes a Spring AIToolCallbackas an ADKBaseTool, so an existing Spring AI tool can be used by any ADK agent and model.Exposes every Spring AI tool from aToolCallbackProvideras an ADKBaseToolset, so a dependency-injected provider (for example a Spring bean) contributes its tools to an ADK agent.Aggregates streaming responses from Spring AI models.Converts between ADK and Spring AI tool/function formats in both directions.Simple metadata holder for tool information.