Skip to content

Build your personal knowledge base with Trilium Notes

docs(user): update LLM documentation

Elian Doran14aacd668b4d
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI.html
index 30ab26af3b..df4a1b15ec 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI.html
@@ -1,21 +1,3 @@
-<h2>History</h2>
-<h3>Removal in v0.102.0</h3>
-<p>Starting with version v0.102.0, AI/LLM integration has been removed from
- the Trilium Notes core.</p>
-<p>While a significant amount of effort went into developing this feature,
- maintaining and supporting it long-term proved to be unsustainable.</p>
-<p>When upgrading to v0.102.0, your Chat notes will be preserved, but instead
- of the dedicated chat window they will be turned to a normal&nbsp;<a class="reference-link"
- href="#root/_help_6f9hih2hXXZk">Code</a>&nbsp;note, revealing the underlying
- JSON of the conversation.</p>
-<h3>Reintroduction in v0.103.0</h3>
-<p>Given the recent advancements of the AI scene, we decided to give the
- LLM integration another try. v0.103.0 introduces a completely new chat
- system.</p>
-<p>One of the key changes that lead to the reimplementation is that now we
- are using a library (<a href="https://github.com/vercel/ai">Vercel AI</a>)
- to manage the inner mechanism and the differences between LLM providers
- instead of having to implement it on our own.</p>
<h2>Feature highlights</h2>
<ul>
<li>Chat-based interface with live streaming of the messages.</li>
@@ -156,6 +138,12 @@
make them easily reusable. The entire conversation history is kept, allowing
a basic form of specialization for the LLM with the existing chat acting
like a system prompt.&nbsp;</p>
+<h3>Model selection</h3>
+<p>When a provider is configured in&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/_help_4TIF1oA4VQRO">Options</a>,
+ the next step is to select the models that will be available for the chat.</p>
+<p>The models are retrieved dynamically from the provider, only when the
+ model selection list is visible. To alter the list of models, simply press
+ the Edit button in the model selection box.</p>
<h2>Features</h2>
<h3>Web search</h3>
<p>The AI can optionally search the web to find more information about a
@@ -320,4 +308,22 @@ class="admonition note">
<p>These solutions are third-party and thus not endorsed or supported directly
by the Trilium Notes team. Please address questions and issues on their
corresponding repository instead.</p>
- </aside>
\ No newline at end of file
+ </aside>
+ <h2>History</h2>
+ <h3>Removal in v0.102.0</h3>
+ <p>Starting with version v0.102.0, AI/LLM integration has been removed from
+ the Trilium Notes core.</p>
+ <p>While a significant amount of effort went into developing this feature,
+ maintaining and supporting it long-term proved to be unsustainable.</p>
+ <p>When upgrading to v0.102.0, your Chat notes will be preserved, but instead
+ of the dedicated chat window they will be turned to a normal&nbsp;<a class="reference-link"
+ href="#root/_help_6f9hih2hXXZk">Code</a>&nbsp;note, revealing the underlying
+ JSON of the conversation.</p>
+ <h3>Reintroduction in v0.103.0</h3>
+ <p>Given the recent advancements of the AI scene, we decided to give the
+ LLM integration another try. v0.103.0 introduces a completely new chat
+ system.</p>
+ <p>One of the key changes that lead to the reimplementation is that now we
+ are using a library (<a href="https://github.com/vercel/ai">Vercel AI</a>)
+ to manage the inner mechanism and the differences between LLM providers
+ instead of having to implement it on our own.</p>
\ No newline at end of file
diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json
index 48d6453916..34b0402c2c 100644
--- a/docs/User Guide/!!!meta.json
+++ b/docs/User Guide/!!!meta.json
@@ -19177,13 +19177,6 @@
"type": "text",
"mime": "text/html",
"attributes": [
- {
- "type": "relation",
- "name": "internalLink",
- "value": "6f9hih2hXXZk",
- "isInheritable": false,
- "position": 10
- },
{
"type": "relation",
"name": "internalLink",
@@ -19323,6 +19316,13 @@
"value": "bx bx-bot",
"isInheritable": false,
"position": 30
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "6f9hih2hXXZk",
+ "isInheritable": false,
+ "position": 200
}
],
"format": "markdown",
diff --git a/docs/User Guide/User Guide/AI.md b/docs/User Guide/User Guide/AI.md
index 606be36d23..dab3df6d8f 100644
--- a/docs/User Guide/User Guide/AI.md
+++ b/docs/User Guide/User Guide/AI.md
@@ -1,20 +1,4 @@
# AI
-## History
-
-### Removal in v0.102.0
-
-Starting with version v0.102.0, AI/LLM integration has been removed from the Trilium Notes core.
-
-While a significant amount of effort went into developing this feature, maintaining and supporting it long-term proved to be unsustainable.
-
-When upgrading to v0.102.0, your Chat notes will be preserved, but instead of the dedicated chat window they will be turned to a normal <a class="reference-link" href="Note%20Types/Code.md">Code</a> note, revealing the underlying JSON of the conversation.
-
-### Reintroduction in v0.103.0
-
-Given the recent advancements of the AI scene, we decided to give the LLM integration another try. v0.103.0 introduces a completely new chat system.
-
-One of the key changes that lead to the reimplementation is that now we are using a library ([Vercel AI](https://github.com/vercel/ai)) to manage the inner mechanism and the differences between LLM providers instead of having to implement it on our own.
-
## Feature highlights
* Chat-based interface with live streaming of the messages.
@@ -115,6 +99,12 @@ Unlike the sidebar, the AI will not be aware of the current note it's in.
Chat notes can be set as <a class="reference-link" href="Advanced%20Usage/Templates.md">Templates</a> to make them easily reusable. The entire conversation history is kept, allowing a basic form of specialization for the LLM with the existing chat acting like a system prompt. 
+### Model selection
+
+When a provider is configured in <a class="reference-link" href="Basic%20Concepts%20and%20Features/UI%20Elements/Options.md">Options</a>, the next step is to select the models that will be available for the chat.
+
+The models are retrieved dynamically from the provider, only when the model selection list is visible. To alter the list of models, simply press the Edit button in the model selection box.
+
## Features
### Web search
@@ -235,4 +225,20 @@ The following are alternatives to Trilium's built-in MCP feature. Since Trilium'
* [eliassoares/trilium-fastmcp](https://github.com/eliassoares/trilium-fastmcp)
> [!IMPORTANT]
-> These solutions are third-party and thus not endorsed or supported directly by the Trilium Notes team. Please address questions and issues on their corresponding repository instead.
\ No newline at end of file
+> These solutions are third-party and thus not endorsed or supported directly by the Trilium Notes team. Please address questions and issues on their corresponding repository instead.
+
+## History
+
+### Removal in v0.102.0
+
+Starting with version v0.102.0, AI/LLM integration has been removed from the Trilium Notes core.
+
+While a significant amount of effort went into developing this feature, maintaining and supporting it long-term proved to be unsustainable.
+
+When upgrading to v0.102.0, your Chat notes will be preserved, but instead of the dedicated chat window they will be turned to a normal <a class="reference-link" href="Note%20Types/Code.md">Code</a> note, revealing the underlying JSON of the conversation.
+
+### Reintroduction in v0.103.0
+
+Given the recent advancements of the AI scene, we decided to give the LLM integration another try. v0.103.0 introduces a completely new chat system.
+
+One of the key changes that lead to the reimplementation is that now we are using a library ([Vercel AI](https://github.com/vercel/ai)) to manage the inner mechanism and the differences between LLM providers instead of having to implement it on our own.
\ No newline at end of file