VertexAiRagMemoryService
A MemoryService backed by a Vertex AI RAG corpus.
This is a Kotlin port of the Python ADK VertexAiRagMemoryService. addSessionToMemory uploads a session's text events to the corpus as a single newline-delimited-JSON file whose display name encodes the app/user/session scope; searchMemory retrieves relevant contexts, keeps only those whose scope matches the requested app and user, and reconstructs the stored events into MemoryEntry results.
It follows the VertexAiSessionService port: a thin VertexAiRagClient over a shared GoogleApiClient handles the Vertex AI RAG REST calls, and @Serializable wire DTOs live in the dto sub-package.
Constructors
Types
Fluent builder for VertexAiRagMemoryService, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.
Functions
Adds a session to the memory service.
Searches for sessions that match the query asynchronously.