Skip to content

Commit 940e57e

Browse files
committed
Update v3.mdx
1 parent acda12f commit 940e57e

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

content/docs/v3.mdx

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ description: Major release focused on extensibility, expanded provider support,
1010
| **530+ Models** | Access over 530 models from 23 providers via [models.dev](https://models.dev) integration |
1111
| **Model Selector** | Redesigned full-featured dialog with search, filtering, sorting, and favorites |
1212
| **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 |
1314
| **Tool Support** | First-class Python function calling for LLM interactions with your local environment |
1415
| **KaTeX Math Typesetting** | Support for beautiful rendering of LaTeX math expressions |
1516
| **Calculator UI** | Beautiful UX Friendly UI to evaluate python math expressions |
@@ -19,6 +20,7 @@ description: Major release focused on extensibility, expanded provider support,
1920
| **Media Gallery** | Beautiful UI to browse generated images and audio generations |
2021
| **SQLite Storage** | Migrated IndexedDB to server SQLite for robust persistence and concurrent usage |
2122
| **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 |
2224

2325
---
2426

@@ -27,6 +29,7 @@ description: Major release focused on extensibility, expanded provider support,
2729
- [New Model Selector UI](#new-model-selector-ui)
2830
- [Rewritten for Extensibility](#rewritten-for-extensibility)
2931
- [Extensions System](#extensions-system)
32+
- [Gemini RAG Extension](#gemini-rag-extension)
3033
- [Tool Support](#tool-support)
3134
- [Core Tools](#core-tools)
3235
- [Calculator UI](#calculator-ui)
@@ -287,6 +290,55 @@ Smart generation models like Nano Banana's **gemini-2.5-flash-image** perform ex
287290

288291
---
289292

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+
<Screenshot src="/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.
325+
326+
<Screenshot src="/img/gemini-filestores-upload-folder.webp" />
327+
328+
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:
333+
334+
<Screenshot src="/img/gemini-search-document.webp" />
335+
336+
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+
290342
## Tool Support
291343

292344
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

Comments
 (0)