What is llongterm?
Last updated
Last updated
Llongterm is a plug-and-play memory layer for AI developers. Imagine transforming static, one-off conversations into continuous, context-rich interactions that evolve over time. With llongterm, every conversation is augmented with a layer of memory, so users don’t have to repeat themselves, and your AI becomes truly aware of past interactions.
Traditionally, user messages go directly to a large language model, which responds based solely on the current message. But what about all the context that came before? Llongterm changes the game by adding an intelligent memory step between the user and the LLM.
Step 1: Middleware Memory: User messages are sent to llongterm first.
Step 2: Memory Enrichment: Llongterm remembers what the user said, finds related past interactions, and generates a “system message” containing all the relevant memories.
Step 3: Augmented Messaging: The enriched message, which includes the original user message and relevant context, is returned to you. You can then pass this enriched message to the LLM, allowing it to generate responses with greater context, ultimately improving the relevance and depth of each interaction.
The beauty of llongterm is that it seamlessly fits between your app and the LLM—just plug it in, and watch your user experience improve. No need to reinvent the wheel; llongterm leverages the system message feature to make sure every conversation is contextually aware.
Get up and running with llongterm in just a few minutes. Here’s how:
Get Your API Key: Before using llongterm, you need to obtain an API key from api.llongterm.com. You will also need your own OpenAI API key to enable LLM functionalities.\
Install the llongterm Package: Install the package with a single command:
Set Up Your First Mind: With the SDK, you can create your own persistent “mind” that remembers your users' interactions.
Store Information with "Remember": Once you have a mind set up, you can start adding messages from your users before .
By adding llongterm to your conversational AI stack, your app gains the power of memory, turning static responses into dynamic, context-aware conversations.
Plug-and-Play Integration: Drop llongterm into your existing app and immediately enhance the conversational flow without massive changes.
Persistent Memory: Empower your users by remembering key details between conversations—just like a human would.
Clever Hacking of System Memory: Llongterm uses a creative approach to augment LLMs, leveraging the system message field to inject relevant memory and make the AI more helpful and personalized.
Llongterm is built to help you create smarter, more engaging conversational AI. Give it a try and transform how your users interact with your app.
Ready to get started? Follow the quick start above, or dive deeper into the REST API or JavaScript Documentation for detailed usage examples and API references.