ADK for TypeScript: API Reference
    Preparing search index...

    Class VertexAiRagMemoryService

    A BaseMemoryService backed by a Vertex AI RAG Engine corpus.

    A finished session is uploaded as one RAG file holding its transcript, and a search retrieves the chunks of those transcripts that match the query. Only addSessionToMemory and searchMemory are supported, matching adk-python.

    const memoryService = new VertexAiRagMemoryService({
    ragCorpus: 'projects/my-project/locations/us-central1/ragCorpora/12345',
    similarityTopK: 5,
    });
    await memoryService.addSessionToMemory(session);

    Implements

    Constructors

    Methods