Files
Memoh/assets/getting-started_memory.md.DhIuIiDU.js
T
2026-03-01 10:01:41 +00:00

2 lines
4.5 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{_ as t,o,c as a,ag as r}from"./chunks/framework.ePeAWSvT.js";const u=JSON.parse('{"title":"Bot Memory Management","description":"","frontmatter":{},"headers":[],"relativePath":"getting-started/memory.md","filePath":"getting-started/memory.md","lastUpdated":1772359263000}'),i={name:"getting-started/memory.md"};function n(s,e,m,l,c,h){return o(),a("div",null,[...e[0]||(e[0]=[r('<h1 id="bot-memory-management" tabindex="-1">Bot Memory Management <a class="header-anchor" href="#bot-memory-management" aria-label="Permalink to &quot;Bot Memory Management&quot;"></a></h1><p>Memoh&#39;s structured long-term memory system allows Bots to remember information across multiple conversations, providing contextually relevant and personalized interactions.</p><h2 id="concept-semantic-search" tabindex="-1">Concept: Semantic Search <a class="header-anchor" href="#concept-semantic-search" aria-label="Permalink to &quot;Concept: Semantic Search&quot;"></a></h2><p>Memories are stored in a <strong>Qdrant</strong> vector database. When a user asks a question, Memoh performs a semantic search to find the most relevant &quot;memories&quot; and includes them in the bot&#39;s system prompt.</p><hr><h2 id="operations" tabindex="-1">Operations <a class="header-anchor" href="#operations" aria-label="Permalink to &quot;Operations&quot;"></a></h2><p>Manage your bot&#39;s memories from the <strong>Memory</strong> tab in the Bot Detail page.</p><h3 id="_1-creating-memories" tabindex="-1">1. Creating Memories <a class="header-anchor" href="#_1-creating-memories" aria-label="Permalink to &quot;1. Creating Memories&quot;"></a></h3><ul><li><strong>New Memory</strong>: Manually enter a memory&#39;s content in the provided textarea.</li><li><strong>From Conversation</strong>: Select specific messages from the bot&#39;s conversation history to &quot;extract&quot; into memory.</li></ul><h3 id="_2-searching-and-managing" tabindex="-1">2. Searching and Managing <a class="header-anchor" href="#_2-searching-and-managing" aria-label="Permalink to &quot;2. Searching and Managing&quot;"></a></h3><ul><li><strong>Search</strong>: Filter memories by ID or text content.</li><li><strong>Edit</strong>: Modify existing memory entries directly in the list.</li><li><strong>Delete</strong>: Remove memories that are no longer needed.</li></ul><hr><h2 id="memory-compression-compact" tabindex="-1">Memory Compression (Compact) <a class="header-anchor" href="#memory-compression-compact" aria-label="Permalink to &quot;Memory Compression (Compact)&quot;"></a></h2><p>Over time, memories can accumulate and become redundant. The <strong>Compact</strong> feature helps optimize the memory pool.</p><ul><li><strong>Ratio</strong>: Set the compression ratio (e.g., <code>0.8</code>, <code>0.5</code>, <code>0.3</code>) to determine how much information is retained.</li><li><strong>Decay Days</strong>: Optionally specify a time window to only compact memories older than a certain number of days.</li></ul><hr><h2 id="visualization-vector-manifold" tabindex="-1">Visualization: Vector Manifold <a class="header-anchor" href="#visualization-vector-manifold" aria-label="Permalink to &quot;Visualization: Vector Manifold&quot;"></a></h2><p>The Memory tab includes advanced visual tools to help you understand how the memory system is performing:</p><h3 id="top-k-bucket-chart" tabindex="-1">Top-K Bucket Chart <a class="header-anchor" href="#top-k-bucket-chart" aria-label="Permalink to &quot;Top-K Bucket Chart&quot;"></a></h3><p>Shows the distribution of relevant memories retrieved for the most recent queries.</p><h3 id="cdf-curve-cumulative-distribution-function" tabindex="-1">CDF Curve (Cumulative Distribution Function) <a class="header-anchor" href="#cdf-curve-cumulative-distribution-function" aria-label="Permalink to &quot;CDF Curve (Cumulative Distribution Function)&quot;"></a></h3><p>Visualizes the scoring threshold of retrieved memories, helping you fine-tune how much &quot;relevant&quot; information the bot should consider.</p><hr><h2 id="bot-interaction" tabindex="-1">Bot Interaction <a class="header-anchor" href="#bot-interaction" aria-label="Permalink to &quot;Bot Interaction&quot;"></a></h2><ul><li>The bot will automatically search for and retrieve memories during every interaction.</li><li>The <strong>Memory Model</strong> configured in the <strong>Settings</strong> tab is used for extracting and summarizing these memories.</li><li>Memories provide the &quot;long-term knowledge&quot; that makes each bot unique to its owner.</li></ul>',25)])])}const g=t(i,[["render",n]]);export{u as __pageData,g as default};