Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

654 B
Raw Blame
export interface TelemetryClient {
  captureEvent(
    distinctId: string,
    eventName: string,
    properties?: Record<string, any>,
  ): Promise<boolean>;
  shutdown(): Promise<void>;
}

export interface TelemetryInstance {
  telemetryId: string;
  constructor: {
    name: string;
  };
  host?: string;
  apiKey?: string;
}

export interface TelemetryEventData {
  function: string;
  method: string;
  api_host?: string;
  timestamp?: string;
  client_source: "browser" | "nodejs";
  client_version: string;
  [key: string]: any;
}

export interface TelemetryOptions {
  enabled?: boolean;
  apiKey?: string;
  host?: string;
  version?: string;
}