GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — Session | ADK for TypeScript: API Reference - v2.5.0

  • Session

Interface Session

Represents a session in a conversation between agents and users.

interface Session {
    appName: string;
    events: Event[];
    id: string;
    lastUpdateTime: number;
    state: Record<string, unknown>;
    userId: string;
}
  • Defined in core/src/sessions/session.ts:24

Properties

appName

appName: string

The name of the app.

  • Defined in core/src/sessions/session.ts:33

events

events: Event[]

The events of the session, e.g. user input, model response, function call/response, etc.

  • Defined in core/src/sessions/session.ts:49

id

id: string

The unique identifier of the session.

  • Defined in core/src/sessions/session.ts:28

lastUpdateTime

lastUpdateTime: number

The last update time of the session.

  • Defined in core/src/sessions/session.ts:54

state

state: Record<string, unknown>

The state of the session.

  • Defined in core/src/sessions/session.ts:43

userId

userId: string

The id of the user.

  • Defined in core/src/sessions/session.ts:38
Properties
appNameeventsidlastUpdateTimestateuserId
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.