Empezar ahora
Mem0 Tools

Mem0 Add New Memory Records

Usa Mem0 Add New Memory Records con Mem0 Tools mediante Aident Loadout. Revisa sus entradas, salidas, configuración, precio y riesgo antes de ejecutarla.

Action de escrituraNivel de riesgo 2 de 5Conexión con clave de API

Descripción del proveedor

Adds memory records from messages, optionally inferring structured content. Requires an agent, user, app, or run ID; processing defaults to asynchronous and can be requested synchronously.

Precios y límites

Precio
Action gratuita
Pago unificado
No compatible actualmente

Entradas

  • inferboolean
    If true, infers structured memories from messages; otherwise, stores messages directly.
  • app_idstring
    Unique identifier for the application associated with this memory. At least one of agent_id, user_id, app_id, or run_id must be provided.
  • org_idstring
    Optional unique identifier for the organization associated with this memory.
  • run_idstring
    Unique identifier for the run associated with this memory. At least one of agent_id, user_id, app_id, or run_id must be provided.
  • user_idstring
    Unique identifier for the user associated with this memory. At least one of agent_id, user_id, app_id, or run_id must be provided.
  • agent_idstring
    Unique identifier for the agent associated with this memory. At least one of agent_id, user_id, app_id, or run_id must be provided.
  • excludesstring
    Comma-separated keywords to exclude specific topics, aiding in filtering out irrelevant information.
  • includesstring
    Comma-separated keywords to include specific topics, aiding filtering and prioritization.
  • messagesarray
    Obligatorio
    List of message objects forming the memory's content. Each message should have 'role' (e.g., 'user' or 'assistant') and 'content' (text content). Alternative: You can also provide 'records' with 'text' field which will be automatically converted to messages format.
  • org_namestring
    The name of the organization for this memory. Deprecated: use `org_id` instead.
  • async_modeboolean
    Whether to process memories asynchronously (default: true). When true, returns event_id/status/message for tracking background processing. When false, processes synchronously and returns id/event/memory fields. Most clients use the default async mode.
  • project_idstring
    Optional unique identifier for the project associated with this memory.

Salida observable

  • data
    Obligatorio
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Obligatorio
    Whether or not the action execution was successful or not

Skills que usan esta Action

Casos de uso relacionados

Aún no hay casos de uso relacionados verificados.

Fuente oficial

Fuente del proveedor