You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/v3.mdx
+52Lines changed: 52 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ description: Major release focused on extensibility, expanded provider support,
10
10
|**530+ Models**| Access over 530 models from 23 providers via [models.dev](https://models.dev) integration |
11
11
|**Model Selector**| Redesigned full-featured dialog with search, filtering, sorting, and favorites |
12
12
|**Extensions**| Add features, providers, and customize the UI with a flexible plugin architecture |
13
+
|**Gemini RAG**| Manage Gemini File Search Stores and manage document uploads for RAG workflows |
13
14
|**Tool Support**| First-class Python function calling for LLM interactions with your local environment |
14
15
|**KaTeX Math Typesetting**| Support for beautiful rendering of LaTeX math expressions |
15
16
|**Calculator UI**| Beautiful UX Friendly UI to evaluate python math expressions |
@@ -19,6 +20,7 @@ description: Major release focused on extensibility, expanded provider support,
19
20
|**Media Gallery**| Beautiful UI to browse generated images and audio generations |
20
21
|**SQLite Storage**| Migrated IndexedDB to server SQLite for robust persistence and concurrent usage |
21
22
|**Asset Caching**| Persistent image/file file caching with metadata |
23
+
|**Gemini RAG Extension**| Manage Gemini File Search Stores for RAG workflows with document uploads and sync |
22
24
23
25
---
24
26
@@ -27,6 +29,7 @@ description: Major release focused on extensibility, expanded provider support,
27
29
-[New Model Selector UI](#new-model-selector-ui)
28
30
-[Rewritten for Extensibility](#rewritten-for-extensibility)
29
31
-[Extensions System](#extensions-system)
32
+
-[Gemini RAG Extension](#gemini-rag-extension)
30
33
-[Tool Support](#tool-support)
31
34
-[Core Tools](#core-tools)
32
35
-[Calculator UI](#calculator-ui)
@@ -287,6 +290,55 @@ Smart generation models like Nano Banana's **gemini-2.5-flash-image** perform ex
287
290
288
291
---
289
292
293
+
## Gemini RAG Extension
294
+
295
+
The [gemini](https://github.com/llmspy/gemini) extension provides a complete solution for managing Google Gemini's [File Search Stores](https://ai.google.dev/api/file-search), enabling **RAG (Retrieval Augmented Generation)** workflows with automatic document uploads, category organization, and bidirectional sync between your local database and Gemini's cloud storage.
296
+
297
+
Build up your own knowledge base in File Stores, optionally organized into categories, that you can query to ground your AI chats with your own data - whether that's searching across a single document, a category of related documents, or your entire filestore.
298
+
299
+
### Install
300
+
301
+
Install the **gemini** extension via the CLI:
302
+
303
+
```bash
304
+
llms --add gemini
305
+
```
306
+
307
+
After which you'll be able to click the **Gemini Icon** to open the Gemini extension page from the sidebar to manage your filestores.
308
+
309
+
<Screenshotsrc="/img/gemini-filestores.webp" />
310
+
311
+
### Key Features
312
+
313
+
-**Filestore Management**: Create and manage isolated stores of documents for different projects or knowledge bases
314
+
-**Drag & Drop Uploads**: Easily upload documents (PDF, Text, Markdown, etc.) by dragging them into the UI
315
+
-**Smart Categorization**: Organize documents into categories (folders) for granular retrieval
316
+
-**Contextual RAG Chat**:
317
+
-**Ask Filestore**: Chat with the entire knowledge base of a filestore
318
+
-**Ask Category**: Focus your chat on a specific category within a filestore
319
+
-**Ask Document**: Chat with a single specific document
320
+
-**Bi-Directional Sync**: Reconcile your local database with the remote Gemini File API
321
+
322
+
### Uploading Documents
323
+
324
+
Documents can be uploaded by dragging and dropping files onto the upload zone or clicking to open the file picker. You can organize uploads into category folders by typing a category name before uploading.
Uploads are processed asynchronously by a **Background Worker** utilizing a **DB Queue**, so you can continue working while documents are indexed. The worker automatically starts when new documents are uploaded and efficiently handles batch processing without blocking the UI.
329
+
330
+
### RAG Chat in Action
331
+
332
+
Once documents are uploaded, you can start contextual RAG chat sessions with your data. Each session is pre-configured with a Gemini Model and the `file_search` tool to query your selected filestore, category, or document:
The grounded sources used to answer your query are displayed at the bottom of each chat response, allowing you to verify and explore the source documents.
337
+
338
+
See the [Gemini Extension](/docs/extensions/gemini) docs for complete usage instructions.
339
+
340
+
---
341
+
290
342
## Tool Support
291
343
292
344
This release also includes **first-class support for Python function calling (Tools)**, allowing LLMs to interact with your local environment and custom functionality.
0 commit comments