mem0-ts/README.md
Mem0 is a self-improving memory layer for LLM applications, enabling personalized AI experiences that save costs and delight users. We offer both cloud and open-source solutions to cater to different needs.
See the complete OSS Docs. See the complete Platform API Reference.
For the open-source version, you can install the Mem0 package using npm:
npm i mem0ai
For the cloud offering, sign in to Mem0 Platform to obtain your API Key.
The cloud version provides a comprehensive set of features, including:
The open-source version includes the following top features:
Mem0 provides a simple and customizable interface for performing memory operations. You can create long-term and short-term memories, search for relevant memories, and manage memory history.
The MemoryClient throws errors for any API-related issues. You can catch and handle these errors effectively.
All methods of the MemoryClient return promises, allowing for seamless integration with async/await syntax.
To test the MemoryClient in a Node.js environment, you can create a simple script to verify the functionality of memory operations.
If you have any questions or need assistance, please reach out to us: