Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
docs(ai): state how a custom endpoint's base URL is completed
Elian Doran18abbda8f3b6
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Providers.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Providers.htmlindex 110c94bf4b..a1945c3083 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Providers.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Providers.html@@ -110,6 +110,11 @@from the <em>Custom endpoint</em> section.</p><p>This allows you to set the base URL to an OpenAI-compatible API, withan optional API key if required by the service.</p>+<p>Enter the base URL exactly as the service documents it, including its+ version path, such as <code spellcheck="false">https://api.groq.com/openai/v1</code>+ or <code spellcheck="false">https://open.bigmodel.cn/api/paas/v4</code>. Only+ a bare host such as <code spellcheck="false">http://localhost:8080</code> is+ completed with <code spellcheck="false">/v1</code>.</p><p>For custom endpoints, the pricing of the models is not known so the costof a conversation will not be displayed; this is especially relevant forhosted providers.</p>\ No newline at end of filediff --git a/docs/User Guide/User Guide/AI/Providers.md b/docs/User Guide/User Guide/AI/Providers.mdindex f2b4fa4d4b..27a72db099 100644--- a/docs/User Guide/User Guide/AI/Providers.md+++ b/docs/User Guide/User Guide/AI/Providers.md@@ -69,4 +69,6 @@ If your desired hosted (e.g. OpenRouter, Groq, Mistral) or local LLM provider isThis allows you to set the base URL to an OpenAI-compatible API, with an optional API key if required by the service.+Enter the base URL exactly as the service documents it, including its version path, such as `https://api.groq.com/openai/v1` or `https://open.bigmodel.cn/api/paas/v4`. Only a bare host such as `http://localhost:8080` is completed with `/v1`.+For custom endpoints, the pricing of the models is not known so the cost of a conversation will not be displayed; this is especially relevant for hosted providers.\ No newline at end of file