Files
Memoh/assets/concepts_provider-and-model.md.D9DoYLAT.js
T
2026-02-15 13:46:04 +00:00

2 lines
2.1 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 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 &quot;Provider and Model&quot;"></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 &quot;Typical Setup&quot;"></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 &quot;Model Assignment to Bot&quot;"></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 &quot;Web UI Path&quot;"></a></h2><ul><li><code>Models &gt; Add Provider &gt; Select Provider &gt; Add Model</code></li><li><code>Bots &gt; Select a bot &gt; Settings &gt; Choose chat/memory/embedding models</code></li></ul>',12)])])}const u=o(r,[["render",i]]);export{h as __pageData,u as default};