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

2 lines
5.8 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 e,o,c as a,ag as n}from"./chunks/framework.ePeAWSvT.js";const m=JSON.parse('{"title":"Bot Management","description":"","frontmatter":{},"headers":[],"relativePath":"getting-started/bot.md","filePath":"getting-started/bot.md","lastUpdated":1772359263000}'),r={name:"getting-started/bot.md"};function i(s,t,l,d,g,h){return o(),a("div",null,[...t[0]||(t[0]=[n('<h1 id="bot-management" tabindex="-1">Bot Management <a class="header-anchor" href="#bot-management" aria-label="Permalink to &quot;Bot Management&quot;"></a></h1><p>A Bot is an independent AI agent that comes with its own isolated container, persistent memory, and configurable personality. Bots can chat via various messaging platforms (Channels) and perform complex tasks using specialized tools.</p><h2 id="creating-a-bot" tabindex="-1">Creating a Bot <a class="header-anchor" href="#creating-a-bot" aria-label="Permalink to &quot;Creating a Bot&quot;"></a></h2><ol><li>Navigate to the <strong>Bots</strong> page from the sidebar.</li><li>Click the <strong>Create Bot</strong> button.</li><li>Fill in the basic info: <ul><li><strong>Display Name</strong>: The name users will see in group chats.</li><li><strong>Avatar</strong>: A URL for the bot&#39;s profile picture.</li><li><strong>Type</strong>: Choose <code>personal</code> (private to owner) or <code>public</code> (accessible to guests).</li></ul></li><li>Click <strong>Create</strong>.</li></ol><hr><h2 id="bot-detail-page" tabindex="-1">Bot Detail Page <a class="header-anchor" href="#bot-detail-page" aria-label="Permalink to &quot;Bot Detail Page&quot;"></a></h2><p>Once created, clicking on a bot card takes you to its <strong>Detail Page</strong>, where you can manage its entire lifecycle through several specialized tabs.</p><h3 id="overview-tab" tabindex="-1">Overview Tab <a class="header-anchor" href="#overview-tab" aria-label="Permalink to &quot;Overview Tab&quot;"></a></h3><p>The <strong>Overview</strong> tab provides a quick health check of the bot&#39;s services. It monitors:</p><ul><li>Container status (running/stopped)</li><li>Database connectivity</li><li>Channel configurations</li><li>Memory system health</li></ul><p>If any check shows a warning or error, follow the provided details to troubleshoot.</p><h2 id="configuring-the-bot-s-brain-models" tabindex="-1">Configuring the Bot&#39;s Brain (Models) <a class="header-anchor" href="#configuring-the-bot-s-brain-models" aria-label="Permalink to &quot;Configuring the Bot&#39;s Brain (Models)&quot;"></a></h2><p>After creating a bot, the most important step is assigning its LLM models. These define how the bot thinks, remembers, and processes information.</p><ol><li>Navigate to your bot&#39;s <strong>Detail Page</strong>.</li><li>Go to the <strong>Settings</strong> tab.</li><li>In the <strong>Model Selection</strong> section, you will find three dropdowns: <ul><li><strong>Chat Model</strong>: Used for standard conversations with users. Select a high-quality chat model (e.g., GPT-4o).</li><li><strong>Memory Model</strong>: Used for summarizing context and extracting key facts into the bot&#39;s long-term memory.</li><li><strong>Embedding Model</strong>: Used to convert text into vector embeddings for semantic search within the memory system. This must be an <code>embedding</code> type model.</li></ul></li><li>Select the models you previously configured in the <a href="/getting-started/provider-and-model.html">Models</a> page.</li><li>Click <strong>Save</strong> at the bottom of the form.</li></ol><hr><h2 id="settings-tab-reference" tabindex="-1">Settings Tab Reference <a class="header-anchor" href="#settings-tab-reference" aria-label="Permalink to &quot;Settings Tab Reference&quot;"></a></h2><p>The <strong>Settings</strong> tab contains all the core parameters that define your bot&#39;s behavior and runtime configuration.</p><table tabindex="0"><thead><tr><th>Field</th><th>Description</th></tr></thead><tbody><tr><td><strong>Chat Model</strong></td><td>The main LLM used for generating chat responses.</td></tr><tr><td><strong>Memory Model</strong></td><td>The LLM used for summarizing context and managing memories.</td></tr><tr><td><strong>Embedding Model</strong></td><td>The model used to generate vector embeddings for semantic memory search.</td></tr><tr><td><strong>Search Provider</strong></td><td>The search engine used for web browsing capabilities.</td></tr><tr><td><strong>Max Context Load Time</strong></td><td>Time limit (seconds) for loading context before generation.</td></tr><tr><td><strong>Max Context Tokens</strong></td><td>Token limit for the loaded conversation history.</td></tr><tr><td><strong>Language</strong></td><td>The bot&#39;s primary communication language.</td></tr><tr><td><strong>Reasoning Enabled</strong></td><td>If the selected model supports reasoning (like OpenAI o1), enable this to use its deep thinking capabilities.</td></tr><tr><td><strong>Reasoning Effort</strong></td><td>Set the level of reasoning effort (<code>low</code>, <code>medium</code>, <code>high</code>).</td></tr><tr><td><strong>Allow Guest</strong></td><td>(Public bots only) If enabled, non-registered users can interact with the bot.</td></tr></tbody></table><hr><h2 id="deleting-a-bot" tabindex="-1">Deleting a Bot <a class="header-anchor" href="#deleting-a-bot" aria-label="Permalink to &quot;Deleting a Bot&quot;"></a></h2><p>To permanently remove a bot and all its associated data (including container files and memory):</p><ol><li>Navigate to the <strong>Settings</strong> tab in the Bot Detail page.</li><li>Scroll to the <strong>Danger Zone</strong> at the bottom.</li><li>Click <strong>Delete Bot</strong> and confirm the action.</li></ol><blockquote><p><strong>Warning</strong>: This action is irreversible. All persistent data for this bot will be lost.</p></blockquote>',23)])])}const b=e(r,[["render",i]]);export{m as __pageData,b as default};