Recallio icon

Recallio

Interact with RecallioAI memory API

Clear

AI-generated

Overview

This node operation clears memories from the RecallioAI memory API for a specified user. It allows users to delete stored memories either scoped to the user or to a project. This is useful for managing and cleaning up memory data associated with a user or project, for example, when resetting user data or removing outdated project information.

Use Case Examples

  1. A user wants to clear all their stored memories to start fresh.
  2. A project manager needs to delete all memories related to a specific project to maintain data privacy.

Properties

Name Meaning
User ID The unique identifier of the user whose memories are to be cleared. This is a required field.
Delete Scope Defines the scope of the deletion, either 'User' to delete user-specific memories or 'Project' to delete project-specific memories.

Output

JSON

  • success - Indicates whether the memory deletion was successful (true/false).
  • message - A message confirming the deletion and specifying the scope of the deleted memories.

Dependencies

  • RecallioAI memory API accessed via an API key credential

Troubleshooting

  • Ensure the provided User ID is valid and exists in the Recallio system to avoid errors.
  • Verify that the API key credential is correctly configured and has the necessary permissions to delete memories.
  • Common error messages include 'Unknown operation' if the operation parameter is incorrect, and API errors if the deletion request fails. These can be resolved by checking the operation parameter and API credentials respectively.

Discussion