[Go to site: main page, start]

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

    Interface MemoryEntry

    Represents one memory entry retrieved from a memory service.

    Memory entries are created from session events and surfaced to the agent to provide relevant context from past interactions.

    interface MemoryEntry {
        author?: string;
        content: Content;
        timestamp?: string;
    }

    Properties

    author?: string

    The author of the memory. Common values are 'user' and 'model', but this can also be the name of an agent when the content was produced by a named sub-agent.

    content: Content

    The content of the memory entry, as originally produced during a session.

    timestamp?: string

    The time when the original content was produced. Forwarded to the LLM as part of the memory context. Preferred format is ISO 8601 (e.g. '2024-01-15T10:30:00.000Z').