import{_ as t,o,c as r,ag as a}from"./chunks/framework.CvgP6Fyv.js";const u=JSON.parse('{"title":"Bot Memory Management","description":"","frontmatter":{},"headers":[],"relativePath":"getting-started/memory.md","filePath":"getting-started/memory.md","lastUpdated":1773501089000}'),i={name:"getting-started/memory.md"};function n(s,e,m,l,d,c){return o(),r("div",null,[...e[0]||(e[0]=[a('
Memoh's structured long-term memory system allows bots to remember information across multiple conversations, providing contextually relevant and personalized interactions.
Before using the Memory tab, make sure your bot already has a Memory Provider configured.
Without a memory provider, the bot will not have an active memory backend configuration.
Memories are stored and retrieved through the assigned memory provider. Depending on the provider type and mode, retrieval may use file-based indexing, sparse vectors, dense embeddings, or an external API. When a user sends a message, Memoh finds the most relevant memories and includes them in the bot's runtime context.
Manage your bot's memories from the Memory tab in the Bot Detail page.
Over time, memories can accumulate and become redundant. The Compact feature helps optimize the memory pool.
0.8, 0.5, or 0.3) to determine how much information is retained.The Memory tab includes visual tools to help you understand how the memory system is performing:
Shows the distribution of relevant memories retrieved for the most recent queries.
Visualizes the scoring threshold of retrieved memories, helping you fine-tune how much relevant information the bot should consider.