docs(user): restructure LLM section
							
								
								
									
										2
									
								
								apps/server/src/assets/doc_notes/en/User Guide/!!!meta.json
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 168 KiB | 
| Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB | 
| Before Width: | Height: | Size: 172 KiB After Width: | Height: | Size: 172 KiB | 
| Before Width: | Height: | Size: 167 KiB After Width: | Height: | Size: 167 KiB | 
| Before Width: | Height: | Size: 237 KiB After Width: | Height: | Size: 237 KiB | 
| Before Width: | Height: | Size: 202 KiB After Width: | Height: | Size: 202 KiB | 
| Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB | 
| Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB | 
| Before Width: | Height: | Size: 191 KiB After Width: | Height: | Size: 191 KiB | 
| @ -1,5 +1,5 @@ | ||||
| <figure class="image image_resized" style="width:63.68%;"> | ||||
|   <img style="aspect-ratio:1363/1364;" src="Introduction_image.png" | ||||
|   <img style="aspect-ratio:1363/1364;" src="AI_image.png" | ||||
|   width="1363" height="1364"> | ||||
|   <figcaption>An example chat with an LLM</figcaption> | ||||
| </figure> | ||||
| @ -11,12 +11,12 @@ | ||||
| <p>The quickest way to get started is to navigate to the “AI/LLM” settings:</p> | ||||
| <figure | ||||
| class="image image_resized" style="width:74.04%;"> | ||||
|   <img style="aspect-ratio:1916/1906;" src="5_Introduction_image.png" | ||||
|   <img style="aspect-ratio:1916/1906;" src="5_AI_image.png" | ||||
|   width="1916" height="1906"> | ||||
|   </figure> | ||||
|   <p>Enable the feature:</p> | ||||
|   <figure class="image image_resized" style="width:82.82%;"> | ||||
|     <img style="aspect-ratio:1911/997;" src="1_Introduction_image.png" | ||||
|     <img style="aspect-ratio:1911/997;" src="1_AI_image.png" | ||||
|     width="1911" height="997"> | ||||
|   </figure> | ||||
|    | ||||
| @ -43,7 +43,7 @@ class="image image_resized" style="width:74.04%;"> | ||||
|     We will then hit the “refresh” button to have it fetch our models:</p> | ||||
|   <figure | ||||
|   class="image image_resized" style="width:82.28%;"> | ||||
|     <img style="aspect-ratio:1912/1075;" src="4_Introduction_image.png" | ||||
|     <img style="aspect-ratio:1912/1075;" src="4_AI_image.png" | ||||
|     width="1912" height="1075"> | ||||
|     </figure> | ||||
|     <p>When selecting the dropdown for the “Embedding Model”, embedding models | ||||
| @ -51,21 +51,21 @@ class="image image_resized" style="width:74.04%;"> | ||||
|       a horizontal line, as seen below:</p> | ||||
|     <figure class="image image_resized" | ||||
|     style="width:61.73%;"> | ||||
|       <img style="aspect-ratio:1232/959;" src="8_Introduction_image.png" | ||||
|       <img style="aspect-ratio:1232/959;" src="8_AI_image.png" | ||||
|       width="1232" height="959"> | ||||
|     </figure> | ||||
|     <p>After selecting an embedding model, embeddings should automatically begin | ||||
|       to be generated by checking the embedding statistics at the top of the | ||||
|       “AI/LLM” settings panel:</p> | ||||
|     <figure class="image image_resized" style="width:67.06%;"> | ||||
|       <img style="aspect-ratio:1333/499;" src="7_Introduction_image.png" | ||||
|       <img style="aspect-ratio:1333/499;" src="7_AI_image.png" | ||||
|       width="1333" height="499"> | ||||
|     </figure> | ||||
|     <p>If you don't see any embeddings being created, you will want to scroll | ||||
|       to the bottom of the settings, and hit “Recreate All Embeddings”:</p> | ||||
|     <figure | ||||
|     class="image image_resized" style="width:65.69%;"> | ||||
|       <img style="aspect-ratio:1337/1490;" src="3_Introduction_image.png" | ||||
|       <img style="aspect-ratio:1337/1490;" src="3_AI_image.png" | ||||
|       width="1337" height="1490"> | ||||
|       </figure> | ||||
|       <p>Creating the embeddings will take some time, and will be regenerated when | ||||
| @ -139,7 +139,7 @@ class="image image_resized" style="width:74.04%;"> | ||||
|       <p>When Tools are executed within your Chat, you'll see output like the following:</p> | ||||
|       <figure | ||||
|       class="image image_resized" style="width:66.88%;"> | ||||
|         <img style="aspect-ratio:1372/1591;" src="6_Introduction_image.png" | ||||
|         <img style="aspect-ratio:1372/1591;" src="6_AI_image.png" | ||||
|         width="1372" height="1591"> | ||||
|         </figure> | ||||
|         <p>You don't need to tell the LLM to execute a certain tool, it should “smartly” | ||||
| @ -149,13 +149,13 @@ class="image image_resized" style="width:74.04%;"> | ||||
|           use the “Chat with Notes” button, where you can go ahead and start chatting!:</p> | ||||
|         <figure | ||||
|         class="image image_resized" style="width:60.77%;"> | ||||
|           <img style="aspect-ratio:1378/539;" src="2_Introduction_image.png" | ||||
|           <img style="aspect-ratio:1378/539;" src="2_AI_image.png" | ||||
|           width="1378" height="539"> | ||||
|           </figure> | ||||
|           <p>If you don't see the “Chat with Notes” button on your side launchbar, | ||||
|             you might need to move it from the “Available Launchers” section to the | ||||
|             “Visible Launchers” section:</p> | ||||
|           <figure class="image image_resized" style="width:69.81%;"> | ||||
|             <img style="aspect-ratio:1765/1287;" src="9_Introduction_image.png" | ||||
|             <img style="aspect-ratio:1765/1287;" src="9_AI_image.png" | ||||
|             width="1765" height="1287"> | ||||
|           </figure> | ||||
| Before Width: | Height: | Size: 186 KiB After Width: | Height: | Size: 186 KiB | 
| @ -11,12 +11,12 @@ | ||||
| <p>To set your preferred chat model, you'll want to enter the provider's | ||||
|   name here:</p> | ||||
| <figure class="image image_resized" style="width:88.38%;"> | ||||
|   <img style="aspect-ratio:1884/1267;" src="AI Provider Information_im.png" | ||||
|   <img style="aspect-ratio:1884/1267;" src="Providers_image.png" | ||||
|   width="1884" height="1267"> | ||||
| </figure> | ||||
| <p>And to set your preferred embedding provider:</p> | ||||
| <figure class="image image_resized" | ||||
| style="width:93.47%;"> | ||||
|   <img style="aspect-ratio:1907/1002;" src="1_AI Provider Information_im.png" | ||||
|   <img style="aspect-ratio:1907/1002;" src="1_Providers_image.png" | ||||
|   width="1907" height="1002"> | ||||
| </figure> | ||||
| Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB | 
| Before Width: | Height: | Size: 270 KiB After Width: | Height: | Size: 270 KiB | 
| Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB | 
| Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB | 
| Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 89 KiB | 
| Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB | 
| Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 198 KiB | 
| Before Width: | Height: | Size: 175 KiB After Width: | Height: | Size: 175 KiB | 
							
								
								
									
										275
									
								
								docs/User Guide/!!!meta.json
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -105,13 +105,6 @@ | ||||
|                             "isInheritable": false, | ||||
|                             "position": 40 | ||||
|                         }, | ||||
|                         { | ||||
|                             "type": "relation", | ||||
|                             "name": "internalLink", | ||||
|                             "value": "LMAv4Uy3Wk6J", | ||||
|                             "isInheritable": false, | ||||
|                             "position": 50 | ||||
|                         }, | ||||
|                         { | ||||
|                             "type": "relation", | ||||
|                             "name": "internalLink", | ||||
| @ -13761,182 +13754,136 @@ | ||||
|                 }, | ||||
|                 { | ||||
|                     "isClone": false, | ||||
|                     "noteId": "LMAv4Uy3Wk6J", | ||||
|                     "noteId": "GBBMSlVSOIGP", | ||||
|                     "notePath": [ | ||||
|                         "pOsGYCXsbNQG", | ||||
|                         "LMAv4Uy3Wk6J" | ||||
|                         "GBBMSlVSOIGP" | ||||
|                     ], | ||||
|                     "title": "AI", | ||||
|                     "notePosition": 340, | ||||
|                     "prefix": null, | ||||
|                     "isExpanded": false, | ||||
|                     "type": "book", | ||||
|                     "mime": "", | ||||
|                     "type": "text", | ||||
|                     "mime": "text/html", | ||||
|                     "attributes": [ | ||||
|                         { | ||||
|                             "type": "label", | ||||
|                             "name": "iconClass", | ||||
|                             "value": "bx bx-bot", | ||||
|                             "type": "relation", | ||||
|                             "name": "internalLink", | ||||
|                             "value": "vvUCN7FDkq7G", | ||||
|                             "isInheritable": false, | ||||
|                             "position": 10 | ||||
|                         }, | ||||
|                         { | ||||
|                             "type": "label", | ||||
|                             "name": "viewType", | ||||
|                             "value": "list", | ||||
|                             "isInheritable": false, | ||||
|                             "position": 20 | ||||
|                         }, | ||||
|                         { | ||||
|                             "type": "label", | ||||
|                             "name": "expanded", | ||||
|                             "value": "", | ||||
|                             "isInheritable": false, | ||||
|                             "position": 30 | ||||
|                         }, | ||||
|                         { | ||||
|                             "type": "label", | ||||
|                             "name": "shareAlias", | ||||
|                             "value": "llm", | ||||
|                             "isInheritable": false, | ||||
|                             "position": 40 | ||||
|                             "position": 20 | ||||
|                         }, | ||||
|                         { | ||||
|                             "type": "label", | ||||
|                             "name": "iconClass", | ||||
|                             "value": "bx bx-bot", | ||||
|                             "isInheritable": false, | ||||
|                             "position": 30 | ||||
|                         } | ||||
|                     ], | ||||
|                     "format": "markdown", | ||||
|                     "dataFileName": "AI.md", | ||||
|                     "attachments": [ | ||||
|                         { | ||||
|                             "attachmentId": "4UpXwA3WvbmA", | ||||
|                             "title": "image.png", | ||||
|                             "role": "image", | ||||
|                             "mime": "image/png", | ||||
|                             "position": 10, | ||||
|                             "dataFileName": "AI_image.png" | ||||
|                         }, | ||||
|                         { | ||||
|                             "attachmentId": "8Bn5IsE3Bv1k", | ||||
|                             "title": "image.png", | ||||
|                             "role": "image", | ||||
|                             "mime": "image/png", | ||||
|                             "position": 10, | ||||
|                             "dataFileName": "1_AI_image.png" | ||||
|                         }, | ||||
|                         { | ||||
|                             "attachmentId": "ABN1rFIIJ8no", | ||||
|                             "title": "image.png", | ||||
|                             "role": "image", | ||||
|                             "mime": "image/png", | ||||
|                             "position": 10, | ||||
|                             "dataFileName": "2_AI_image.png" | ||||
|                         }, | ||||
|                         { | ||||
|                             "attachmentId": "CK3z7sYw63XT", | ||||
|                             "title": "image.png", | ||||
|                             "role": "image", | ||||
|                             "mime": "image/png", | ||||
|                             "position": 10, | ||||
|                             "dataFileName": "3_AI_image.png" | ||||
|                         }, | ||||
|                         { | ||||
|                             "attachmentId": "E6Y09N2t7vyA", | ||||
|                             "title": "image.png", | ||||
|                             "role": "image", | ||||
|                             "mime": "image/png", | ||||
|                             "position": 10, | ||||
|                             "dataFileName": "4_AI_image.png" | ||||
|                         }, | ||||
|                         { | ||||
|                             "attachmentId": "JlIPeTtl5wlV", | ||||
|                             "title": "image.png", | ||||
|                             "role": "image", | ||||
|                             "mime": "image/png", | ||||
|                             "position": 10, | ||||
|                             "dataFileName": "5_AI_image.png" | ||||
|                         }, | ||||
|                         { | ||||
|                             "attachmentId": "ur4TDJeRqpUC", | ||||
|                             "title": "image.png", | ||||
|                             "role": "image", | ||||
|                             "mime": "image/png", | ||||
|                             "position": 10, | ||||
|                             "dataFileName": "6_AI_image.png" | ||||
|                         }, | ||||
|                         { | ||||
|                             "attachmentId": "UTH83LkQEA8u", | ||||
|                             "title": "image.png", | ||||
|                             "role": "image", | ||||
|                             "mime": "image/png", | ||||
|                             "position": 10, | ||||
|                             "dataFileName": "7_AI_image.png" | ||||
|                         }, | ||||
|                         { | ||||
|                             "attachmentId": "V68TCCTUdyl7", | ||||
|                             "title": "image.png", | ||||
|                             "role": "image", | ||||
|                             "mime": "image/png", | ||||
|                             "position": 10, | ||||
|                             "dataFileName": "8_AI_image.png" | ||||
|                         }, | ||||
|                         { | ||||
|                             "attachmentId": "YbWoNq58T9kB", | ||||
|                             "title": "image.png", | ||||
|                             "role": "image", | ||||
|                             "mime": "image/png", | ||||
|                             "position": 10, | ||||
|                             "dataFileName": "9_AI_image.png" | ||||
|                         } | ||||
|                     ], | ||||
|                     "attachments": [], | ||||
|                     "dirFileName": "AI", | ||||
|                     "children": [ | ||||
|                         { | ||||
|                             "isClone": false, | ||||
|                             "noteId": "GBBMSlVSOIGP", | ||||
|                             "notePath": [ | ||||
|                                 "pOsGYCXsbNQG", | ||||
|                                 "LMAv4Uy3Wk6J", | ||||
|                                 "GBBMSlVSOIGP" | ||||
|                             ], | ||||
|                             "title": "Introduction", | ||||
|                             "notePosition": 10, | ||||
|                             "prefix": null, | ||||
|                             "isExpanded": false, | ||||
|                             "type": "text", | ||||
|                             "mime": "text/html", | ||||
|                             "attributes": [ | ||||
|                                 { | ||||
|                                     "type": "relation", | ||||
|                                     "name": "internalLink", | ||||
|                                     "value": "vvUCN7FDkq7G", | ||||
|                                     "isInheritable": false, | ||||
|                                     "position": 10 | ||||
|                                 }, | ||||
|                                 { | ||||
|                                     "type": "label", | ||||
|                                     "name": "shareAlias", | ||||
|                                     "value": "intro", | ||||
|                                     "isInheritable": false, | ||||
|                                     "position": 20 | ||||
|                                 }, | ||||
|                                 { | ||||
|                                     "type": "label", | ||||
|                                     "name": "iconClass", | ||||
|                                     "value": "bx bx-info-circle", | ||||
|                                     "isInheritable": false, | ||||
|                                     "position": 30 | ||||
|                                 } | ||||
|                             ], | ||||
|                             "format": "markdown", | ||||
|                             "dataFileName": "Introduction.md", | ||||
|                             "attachments": [ | ||||
|                                 { | ||||
|                                     "attachmentId": "4UpXwA3WvbmA", | ||||
|                                     "title": "image.png", | ||||
|                                     "role": "image", | ||||
|                                     "mime": "image/png", | ||||
|                                     "position": 10, | ||||
|                                     "dataFileName": "Introduction_image.png" | ||||
|                                 }, | ||||
|                                 { | ||||
|                                     "attachmentId": "8Bn5IsE3Bv1k", | ||||
|                                     "title": "image.png", | ||||
|                                     "role": "image", | ||||
|                                     "mime": "image/png", | ||||
|                                     "position": 10, | ||||
|                                     "dataFileName": "1_Introduction_image.png" | ||||
|                                 }, | ||||
|                                 { | ||||
|                                     "attachmentId": "ABN1rFIIJ8no", | ||||
|                                     "title": "image.png", | ||||
|                                     "role": "image", | ||||
|                                     "mime": "image/png", | ||||
|                                     "position": 10, | ||||
|                                     "dataFileName": "2_Introduction_image.png" | ||||
|                                 }, | ||||
|                                 { | ||||
|                                     "attachmentId": "CK3z7sYw63XT", | ||||
|                                     "title": "image.png", | ||||
|                                     "role": "image", | ||||
|                                     "mime": "image/png", | ||||
|                                     "position": 10, | ||||
|                                     "dataFileName": "3_Introduction_image.png" | ||||
|                                 }, | ||||
|                                 { | ||||
|                                     "attachmentId": "E6Y09N2t7vyA", | ||||
|                                     "title": "image.png", | ||||
|                                     "role": "image", | ||||
|                                     "mime": "image/png", | ||||
|                                     "position": 10, | ||||
|                                     "dataFileName": "4_Introduction_image.png" | ||||
|                                 }, | ||||
|                                 { | ||||
|                                     "attachmentId": "JlIPeTtl5wlV", | ||||
|                                     "title": "image.png", | ||||
|                                     "role": "image", | ||||
|                                     "mime": "image/png", | ||||
|                                     "position": 10, | ||||
|                                     "dataFileName": "5_Introduction_image.png" | ||||
|                                 }, | ||||
|                                 { | ||||
|                                     "attachmentId": "ur4TDJeRqpUC", | ||||
|                                     "title": "image.png", | ||||
|                                     "role": "image", | ||||
|                                     "mime": "image/png", | ||||
|                                     "position": 10, | ||||
|                                     "dataFileName": "6_Introduction_image.png" | ||||
|                                 }, | ||||
|                                 { | ||||
|                                     "attachmentId": "UTH83LkQEA8u", | ||||
|                                     "title": "image.png", | ||||
|                                     "role": "image", | ||||
|                                     "mime": "image/png", | ||||
|                                     "position": 10, | ||||
|                                     "dataFileName": "7_Introduction_image.png" | ||||
|                                 }, | ||||
|                                 { | ||||
|                                     "attachmentId": "V68TCCTUdyl7", | ||||
|                                     "title": "image.png", | ||||
|                                     "role": "image", | ||||
|                                     "mime": "image/png", | ||||
|                                     "position": 10, | ||||
|                                     "dataFileName": "8_Introduction_image.png" | ||||
|                                 }, | ||||
|                                 { | ||||
|                                     "attachmentId": "YbWoNq58T9kB", | ||||
|                                     "title": "image.png", | ||||
|                                     "role": "image", | ||||
|                                     "mime": "image/png", | ||||
|                                     "position": 10, | ||||
|                                     "dataFileName": "9_Introduction_image.png" | ||||
|                                 } | ||||
|                             ] | ||||
|                         }, | ||||
|                         { | ||||
|                             "isClone": false, | ||||
|                             "noteId": "WkM7gsEUyCXs", | ||||
|                             "notePath": [ | ||||
|                                 "pOsGYCXsbNQG", | ||||
|                                 "LMAv4Uy3Wk6J", | ||||
|                                 "GBBMSlVSOIGP", | ||||
|                                 "WkM7gsEUyCXs" | ||||
|                             ], | ||||
|                             "title": "AI Provider Information", | ||||
|                             "notePosition": 20, | ||||
|                             "title": "Providers", | ||||
|                             "notePosition": 10, | ||||
|                             "prefix": null, | ||||
|                             "isExpanded": false, | ||||
|                             "type": "text", | ||||
| @ -13986,7 +13933,7 @@ | ||||
|                                 } | ||||
|                             ], | ||||
|                             "format": "markdown", | ||||
|                             "dataFileName": "AI Provider Information.md", | ||||
|                             "dataFileName": "Providers.md", | ||||
|                             "attachments": [ | ||||
|                                 { | ||||
|                                     "attachmentId": "BNN9Vv3JEf2X", | ||||
| @ -13994,7 +13941,7 @@ | ||||
|                                     "role": "image", | ||||
|                                     "mime": "image/png", | ||||
|                                     "position": 10, | ||||
|                                     "dataFileName": "AI Provider Information_im.png" | ||||
|                                     "dataFileName": "Providers_image.png" | ||||
|                                 }, | ||||
|                                 { | ||||
|                                     "attachmentId": "diIollN3KEbn", | ||||
| @ -14002,17 +13949,17 @@ | ||||
|                                     "role": "image", | ||||
|                                     "mime": "image/png", | ||||
|                                     "position": 10, | ||||
|                                     "dataFileName": "1_AI Provider Information_im.png" | ||||
|                                     "dataFileName": "1_Providers_image.png" | ||||
|                                 } | ||||
|                             ], | ||||
|                             "dirFileName": "AI Provider Information", | ||||
|                             "dirFileName": "Providers", | ||||
|                             "children": [ | ||||
|                                 { | ||||
|                                     "isClone": false, | ||||
|                                     "noteId": "7EdTxPADv95W", | ||||
|                                     "notePath": [ | ||||
|                                         "pOsGYCXsbNQG", | ||||
|                                         "LMAv4Uy3Wk6J", | ||||
|                                         "GBBMSlVSOIGP", | ||||
|                                         "WkM7gsEUyCXs", | ||||
|                                         "7EdTxPADv95W" | ||||
|                                     ], | ||||
| @ -14060,7 +14007,7 @@ | ||||
|                                             "noteId": "vvUCN7FDkq7G", | ||||
|                                             "notePath": [ | ||||
|                                                 "pOsGYCXsbNQG", | ||||
|                                                 "LMAv4Uy3Wk6J", | ||||
|                                                 "GBBMSlVSOIGP", | ||||
|                                                 "WkM7gsEUyCXs", | ||||
|                                                 "7EdTxPADv95W", | ||||
|                                                 "vvUCN7FDkq7G" | ||||
| @ -14140,7 +14087,7 @@ | ||||
|                                     "noteId": "ZavFigBX9AwP", | ||||
|                                     "notePath": [ | ||||
|                                         "pOsGYCXsbNQG", | ||||
|                                         "LMAv4Uy3Wk6J", | ||||
|                                         "GBBMSlVSOIGP", | ||||
|                                         "WkM7gsEUyCXs", | ||||
|                                         "ZavFigBX9AwP" | ||||
|                                     ], | ||||
| @ -14175,7 +14122,7 @@ | ||||
|                                     "noteId": "e0lkirXEiSNc", | ||||
|                                     "notePath": [ | ||||
|                                         "pOsGYCXsbNQG", | ||||
|                                         "LMAv4Uy3Wk6J", | ||||
|                                         "GBBMSlVSOIGP", | ||||
|                                         "WkM7gsEUyCXs", | ||||
|                                         "e0lkirXEiSNc" | ||||
|                                     ], | ||||
| @ -14217,7 +14164,7 @@ | ||||
|                         "CdNpE2pqjmI6" | ||||
|                     ], | ||||
|                     "title": "Scripting", | ||||
|                     "notePosition": 350, | ||||
|                     "notePosition": 360, | ||||
|                     "prefix": null, | ||||
|                     "isExpanded": false, | ||||
|                     "type": "text", | ||||
|  | ||||
| Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 168 KiB | 
| Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB | 
| Before Width: | Height: | Size: 172 KiB After Width: | Height: | Size: 172 KiB | 
| Before Width: | Height: | Size: 167 KiB After Width: | Height: | Size: 167 KiB | 
| Before Width: | Height: | Size: 237 KiB After Width: | Height: | Size: 237 KiB | 
| Before Width: | Height: | Size: 202 KiB After Width: | Height: | Size: 202 KiB | 
| Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB | 
| Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB | 
| Before Width: | Height: | Size: 191 KiB After Width: | Height: | Size: 191 KiB | 
| @ -1,5 +1,5 @@ | ||||
| # Introduction | ||||
| <figure class="image image_resized" style="width:63.68%;"><img style="aspect-ratio:1363/1364;" src="Introduction_image.png" width="1363" height="1364"><figcaption>An example chat with an LLM</figcaption></figure> | ||||
| # AI | ||||
| <figure class="image image_resized" style="width:63.68%;"><img style="aspect-ratio:1363/1364;" src="AI_image.png" width="1363" height="1364"><figcaption>An example chat with an LLM</figcaption></figure> | ||||
| 
 | ||||
| The AI / LLM features within Trilium Notes are designed to allow you to interact with your Notes in a variety of ways, using as many of the major providers as we can support.  | ||||
| 
 | ||||
| @ -7,11 +7,11 @@ In addition to being able to send chats to LLM providers such as OpenAI, Anthrop | ||||
| 
 | ||||
| The quickest way to get started is to navigate to the “AI/LLM” settings: | ||||
| 
 | ||||
| <figure class="image image_resized" style="width:74.04%;"><img style="aspect-ratio:1916/1906;" src="5_Introduction_image.png" width="1916" height="1906"></figure> | ||||
| <figure class="image image_resized" style="width:74.04%;"><img style="aspect-ratio:1916/1906;" src="5_AI_image.png" width="1916" height="1906"></figure> | ||||
| 
 | ||||
| Enable the feature: | ||||
| 
 | ||||
| <figure class="image image_resized" style="width:82.82%;"><img style="aspect-ratio:1911/997;" src="1_Introduction_image.png" width="1911" height="997"></figure> | ||||
| <figure class="image image_resized" style="width:82.82%;"><img style="aspect-ratio:1911/997;" src="1_AI_image.png" width="1911" height="997"></figure> | ||||
| 
 | ||||
| ## Embeddings | ||||
| 
 | ||||
| @ -19,25 +19,25 @@ Enable the feature: | ||||
| 
 | ||||
| You will then need to set up the AI “provider” that you wish to use to create the embeddings for your Notes. Currently OpenAI, Voyage AI, and Ollama are supported providers for embedding generation. | ||||
| 
 | ||||
| In the following example, we're going to use our self-hosted Ollama instance to create the embeddings for our Notes. You can see additional documentation about installing your own Ollama locally in <a class="reference-link" href="AI%20Provider%20Information/Ollama/Installing%20Ollama.md">Installing Ollama</a>. | ||||
| In the following example, we're going to use our self-hosted Ollama instance to create the embeddings for our Notes. You can see additional documentation about installing your own Ollama locally in <a class="reference-link" href="AI/Providers/Ollama/Installing%20Ollama.md">Installing Ollama</a>. | ||||
| 
 | ||||
| To see what embedding models Ollama has available, you can check out [this search](https://ollama.com/search?c=embedding)on their website, and then `pull` whichever one you want to try out. As of 4/15/25, my personal favorite is `mxbai-embed-large`. | ||||
| 
 | ||||
| First, we'll need to select the Ollama provider from the tabs of providers, then we will enter in the Base URL for our Ollama. Since our Ollama is running on our local machine, our Base URL is `http://localhost:11434`. We will then hit the “refresh” button to have it fetch our models: | ||||
| 
 | ||||
| <figure class="image image_resized" style="width:82.28%;"><img style="aspect-ratio:1912/1075;" src="4_Introduction_image.png" width="1912" height="1075"></figure> | ||||
| <figure class="image image_resized" style="width:82.28%;"><img style="aspect-ratio:1912/1075;" src="4_AI_image.png" width="1912" height="1075"></figure> | ||||
| 
 | ||||
| When selecting the dropdown for the “Embedding Model”, embedding models should be at the top of the list, separated by regular chat models with a horizontal line, as seen below: | ||||
| 
 | ||||
| <figure class="image image_resized" style="width:61.73%;"><img style="aspect-ratio:1232/959;" src="8_Introduction_image.png" width="1232" height="959"></figure> | ||||
| <figure class="image image_resized" style="width:61.73%;"><img style="aspect-ratio:1232/959;" src="8_AI_image.png" width="1232" height="959"></figure> | ||||
| 
 | ||||
| After selecting an embedding model, embeddings should automatically begin to be generated by checking the embedding statistics at the top of the “AI/LLM” settings panel: | ||||
| 
 | ||||
| <figure class="image image_resized" style="width:67.06%;"><img style="aspect-ratio:1333/499;" src="7_Introduction_image.png" width="1333" height="499"></figure> | ||||
| <figure class="image image_resized" style="width:67.06%;"><img style="aspect-ratio:1333/499;" src="7_AI_image.png" width="1333" height="499"></figure> | ||||
| 
 | ||||
| If you don't see any embeddings being created, you will want to scroll to the bottom of the settings, and hit “Recreate All Embeddings”: | ||||
| 
 | ||||
| <figure class="image image_resized" style="width:65.69%;"><img style="aspect-ratio:1337/1490;" src="3_Introduction_image.png" width="1337" height="1490"></figure> | ||||
| <figure class="image image_resized" style="width:65.69%;"><img style="aspect-ratio:1337/1490;" src="3_AI_image.png" width="1337" height="1490"></figure> | ||||
| 
 | ||||
| Creating the embeddings will take some time, and will be regenerated when a Note is created, updated, or deleted (removed). | ||||
| 
 | ||||
| @ -74,7 +74,7 @@ These are the tools that currently exist, and will certainly be updated to be mo | ||||
| 
 | ||||
| When Tools are executed within your Chat, you'll see output like the following: | ||||
| 
 | ||||
| <figure class="image image_resized" style="width:66.88%;"><img style="aspect-ratio:1372/1591;" src="6_Introduction_image.png" width="1372" height="1591"></figure> | ||||
| <figure class="image image_resized" style="width:66.88%;"><img style="aspect-ratio:1372/1591;" src="6_AI_image.png" width="1372" height="1591"></figure> | ||||
| 
 | ||||
| You don't need to tell the LLM to execute a certain tool, it should “smartly” call tools and automatically execute them as needed. | ||||
| 
 | ||||
| @ -82,8 +82,8 @@ You don't need to tell the LLM to execute a certain tool, it should “smartly | ||||
| 
 | ||||
| Now that you know about embeddings and tools, you can just go ahead and use the “Chat with Notes” button, where you can go ahead and start chatting!: | ||||
| 
 | ||||
| <figure class="image image_resized" style="width:60.77%;"><img style="aspect-ratio:1378/539;" src="2_Introduction_image.png" width="1378" height="539"></figure> | ||||
| <figure class="image image_resized" style="width:60.77%;"><img style="aspect-ratio:1378/539;" src="2_AI_image.png" width="1378" height="539"></figure> | ||||
| 
 | ||||
| If you don't see the “Chat with Notes” button on your side launchbar, you might need to move it from the “Available Launchers” section to the “Visible Launchers” section: | ||||
| 
 | ||||
| <figure class="image image_resized" style="width:69.81%;"><img style="aspect-ratio:1765/1287;" src="9_Introduction_image.png" width="1765" height="1287"></figure> | ||||
| <figure class="image image_resized" style="width:69.81%;"><img style="aspect-ratio:1765/1287;" src="9_AI_image.png" width="1765" height="1287"></figure> | ||||
| Before Width: | Height: | Size: 186 KiB After Width: | Height: | Size: 186 KiB | 
| @ -1,15 +0,0 @@ | ||||
| # AI Provider Information | ||||
| Currently, we support the following providers: | ||||
| 
 | ||||
| *   <a class="reference-link" href="AI%20Provider%20Information/Ollama">Ollama</a> | ||||
| *   <a class="reference-link" href="AI%20Provider%20Information/OpenAI.md">OpenAI</a> | ||||
| *   <a class="reference-link" href="AI%20Provider%20Information/Anthropic.md">Anthropic</a> | ||||
| *   Voyage AI | ||||
| 
 | ||||
| To set your preferred chat model, you'll want to enter the provider's name here: | ||||
| 
 | ||||
| <figure class="image image_resized" style="width:88.38%;"><img style="aspect-ratio:1884/1267;" src="AI Provider Information_im.png" width="1884" height="1267"></figure> | ||||
| 
 | ||||
| And to set your preferred embedding provider: | ||||
| 
 | ||||
| <figure class="image image_resized" style="width:93.47%;"><img style="aspect-ratio:1907/1002;" src="1_AI Provider Information_im.png" width="1907" height="1002"></figure> | ||||
							
								
								
									
										15
									
								
								docs/User Guide/User Guide/AI/Providers.md
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,15 @@ | ||||
| # Providers | ||||
| Currently, we support the following providers: | ||||
| 
 | ||||
| *   <a class="reference-link" href="Providers/Ollama">Ollama</a> | ||||
| *   <a class="reference-link" href="Providers/OpenAI.md">OpenAI</a> | ||||
| *   <a class="reference-link" href="Providers/Anthropic.md">Anthropic</a> | ||||
| *   Voyage AI | ||||
| 
 | ||||
| To set your preferred chat model, you'll want to enter the provider's name here: | ||||
| 
 | ||||
| <figure class="image image_resized" style="width:88.38%;"><img style="aspect-ratio:1884/1267;" src="Providers_image.png" width="1884" height="1267"></figure> | ||||
| 
 | ||||
| And to set your preferred embedding provider: | ||||
| 
 | ||||
| <figure class="image image_resized" style="width:93.47%;"><img style="aspect-ratio:1907/1002;" src="1_Providers_image.png" width="1907" height="1002"></figure> | ||||
| Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB | 
| Before Width: | Height: | Size: 270 KiB After Width: | Height: | Size: 270 KiB | 
| Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB | 
| Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB | 
| Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 89 KiB | 
| Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB | 
| Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 198 KiB | 
| Before Width: | Height: | Size: 175 KiB After Width: | Height: | Size: 175 KiB | 
| @ -12,7 +12,7 @@ This section presents the most important changes by version. For a full set of c | ||||
| *   v0.95.0: | ||||
|     *   A more friendly theme was introduced for <a class="reference-link" href="Advanced%20Usage/Sharing.md">Sharing</a>, with search, expandable tree, night mode and more. | ||||
| *   v0.94.0: | ||||
|     *   Added integration with <a class="reference-link" href="AI">AI</a> (using self-hosted LLMs such as Ollama or industry standards such as ChatGPT). | ||||
|     *   Added integration with <a class="reference-link" href="#root/LMAv4Uy3Wk6J">AI</a> (using self-hosted LLMs such as Ollama or industry standards such as ChatGPT). | ||||
| *   v0.92.5: | ||||
|     *   Windows binaries are now signed. | ||||
|     *   <a class="reference-link" href="Installation%20%26%20Setup/Server%20Installation/Multi-Factor%20Authentication.md">Multi-Factor Authentication</a> was introduced. | ||||
|  | ||||
 Elian Doran
						Elian Doran