mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
2 lines
2.1 KiB
JavaScript
2 lines
2.1 KiB
JavaScript
import{_ as o,o as t,c as d,ag as a}from"./chunks/framework.DEqXEGcv.js";const h=JSON.parse('{"title":"Provider and Model","description":"","frontmatter":{},"headers":[],"relativePath":"concepts/provider-and-model.md","filePath":"concepts/provider-and-model.md","lastUpdated":1771163124000}'),r={name:"concepts/provider-and-model.md"};function i(n,e,l,s,c,m){return t(),d("div",null,[...e[0]||(e[0]=[a('<h1 id="provider-and-model" tabindex="-1">Provider and Model <a class="header-anchor" href="#provider-and-model" aria-label="Permalink to "Provider and Model""></a></h1><p>In Memoh, <strong>provider</strong> and <strong>model</strong> are separate but connected concepts:</p><ul><li>A <strong>provider</strong> is the LLM service configuration (API endpoint, key, client type)</li><li>A <strong>model</strong> is the concrete chat or embedding model under that provider</li></ul><h2 id="typical-setup" tabindex="-1">Typical Setup <a class="header-anchor" href="#typical-setup" aria-label="Permalink to "Typical Setup""></a></h2><p>At minimum, a production-ready bot usually needs:</p><ul><li>One <strong>chat</strong> model for dialog generation</li><li>One <strong>embedding</strong> model for memory indexing and retrieval</li></ul><h2 id="model-assignment-to-bot" tabindex="-1">Model Assignment to Bot <a class="header-anchor" href="#model-assignment-to-bot" aria-label="Permalink to "Model Assignment to Bot""></a></h2><p>Bots reference model IDs in settings:</p><ul><li><code>chat_model_id</code></li><li><code>memory_model_id</code></li><li><code>embedding_model_id</code></li></ul><p>This enables per-bot customization (for quality, latency, or cost).</p><h2 id="web-ui-path" tabindex="-1">Web UI Path <a class="header-anchor" href="#web-ui-path" aria-label="Permalink to "Web UI Path""></a></h2><ul><li><code>Models > Add Provider > Select Provider > Add Model</code></li><li><code>Bots > Select a bot > Settings > Choose chat/memory/embedding models</code></li></ul>',12)])])}const u=o(r,[["render",i]]);export{h as __pageData,u as default};
|