mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
2 lines
3.6 KiB
JavaScript
2 lines
3.6 KiB
JavaScript
import{_ as e,o,c as a,ag as r}from"./chunks/framework.ePeAWSvT.js";const n="/getting-started/bots-01-sidebar.png",s="/getting-started/bots-02-create-bot.png",i="/getting-started/bots-03-config.png",c="/getting-started/bots-04-setting.png",d="/getting-started/bots-05-chat.png",_=JSON.parse('{"title":"Create Bot","description":"","frontmatter":{},"headers":[],"relativePath":"getting-started/create-bot.md","filePath":"getting-started/create-bot.md","lastUpdated":1771405736000}'),p={name:"getting-started/create-bot.md"};function l(g,t,h,b,u,m){return o(),a("div",null,[...t[0]||(t[0]=[r('<h1 id="create-bot" tabindex="-1">Create Bot <a class="header-anchor" href="#create-bot" aria-label="Permalink to "Create Bot""></a></h1><h2 id="prerequisites" tabindex="-1">Prerequisites <a class="header-anchor" href="#prerequisites" aria-label="Permalink to "Prerequisites""></a></h2><ul><li>Complete the provider and model configuration.</li></ul><h2 id="step-1-open-the-bot-page" tabindex="-1">Step 1: Open the Bot Page <a class="header-anchor" href="#step-1-open-the-bot-page" aria-label="Permalink to "Step 1: Open the Bot Page""></a></h2><p>Click <strong>Bots</strong> in the left sidebar to open the Bots configuration page.</p><p><img src="'+n+'" alt="Bots page - sidebar"></p><h2 id="step-2-create-a-bot" tabindex="-1">Step 2: create a Bot <a class="header-anchor" href="#step-2-create-a-bot" aria-label="Permalink to "Step 2: create a Bot""></a></h2><p>Click the <strong>New Bot</strong> button (with a plus icon)</p><p><img src="'+s+'" alt="Create Bot button"></p><p>In the dialog, fill in:</p><table tabindex="0"><thead><tr><th>Field</th><th>Description</th></tr></thead><tbody><tr><td><strong>Name</strong></td><td>A display name for this bot (e.g. <code>my-bot</code>, <code>telegram-public-bot</code>)</td></tr><tr><td><strong>Avatar URL</strong></td><td>The API base Avatar (e.g.<code>https://gravatar.com/avatar/***</code>)</td></tr><tr><td><strong>Type</strong></td><td>Bots type: <code>person</code>, <code>public</code>, public for channel(e.g. <code>telegram</code> group, <code>qq</code> group, <code>discord</code> channel, person for bind user)</td></tr></tbody></table><h2 id="step-3-bot-configuration" tabindex="-1">Step 3: Bot Configuration <a class="header-anchor" href="#step-3-bot-configuration" aria-label="Permalink to "Step 3: Bot Configuration""></a></h2><p>Click one <strong>bot</strong> Card in Bots page</p><p><img src="'+i+'" alt="Bot Configuration"></p><p>open <strong>settings</strong> section</p><p><img src="'+c+'" alt="setting"></p><p>select your available <code>Chat Model</code>, <code>Memory Model</code>, <code>Embedding Model</code> and save for basic Configuration</p><h2 id="step-4-check-bot" tabindex="-1">Step 4: Check Bot <a class="header-anchor" href="#step-4-check-bot" aria-label="Permalink to "Step 4: Check Bot""></a></h2><p>Click <strong>Chat</strong> in the left sidebar to open chat page. then type your prompt to test the Bot configuration</p><p><img src="'+d+'" alt="alt text"></p><h2 id="next-steps" tabindex="-1">Next Steps <a class="header-anchor" href="#next-steps" aria-label="Permalink to "Next Steps""></a></h2><ul><li>add <a href="/concepts/channel.html">channel</a> to <code>Platform</code>(e.g. <a href="/getting-started/platform-telegram.html">telegram</a>, <code>feishu(lark)</code>, <code>wechat</code>, <code>discord</code>)</li><li>manage your bot <a href="/concepts/memory.html">Memory</a></li></ul>',22)])])}const B=e(p,[["render",l]]);export{_ as __pageData,B as default};
|