Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

docs: add file upload

Louis0c223ce34397
diff --git a/docs/src/pages/docs/desktop/_assets/file-upload-vision-prompt.png b/docs/src/pages/docs/desktop/_assets/file-upload-vision-prompt.png
new file mode 100644
index 000000000..baab2aafa
Binary files /dev/null and b/docs/src/pages/docs/desktop/_assets/file-upload-vision-prompt.png differ
diff --git a/docs/src/pages/docs/desktop/_assets/file-upload.png b/docs/src/pages/docs/desktop/_assets/file-upload.png
new file mode 100644
index 000000000..eaabc2488
Binary files /dev/null and b/docs/src/pages/docs/desktop/_assets/file-upload.png differ
diff --git a/docs/src/pages/docs/desktop/_meta.json b/docs/src/pages/docs/desktop/_meta.json
index 392a2eeab..a538501c0 100644
--- a/docs/src/pages/docs/desktop/_meta.json
+++ b/docs/src/pages/docs/desktop/_meta.json
@@ -16,6 +16,7 @@
"cli": "CLI",
"projects": "Projects",
"assistants": "Assistants",
+ "file-upload": "File Upload",
"manage-models": "Hub",
"mcp-examples": "Connectors (MCP)",
"settings": "App Settings",
diff --git a/docs/src/pages/docs/desktop/file-upload.mdx b/docs/src/pages/docs/desktop/file-upload.mdx
new file mode 100644
index 000000000..fcc9a775d
--- /dev/null
+++ b/docs/src/pages/docs/desktop/file-upload.mdx
@@ -0,0 +1,40 @@
+---
+title: File Upload
+description: Upload images and documents to chat with Jan
+keywords:
+ [
+ Jan,
+ file upload,
+ image upload,
+ PDF,
+ document,
+ vision,
+ local AI,
+ ]
+---
+
+# File Upload
+
+Jan lets you upload images and documents directly in the chat. Click the **+** button in the message input to add files.
+
+![File Upload](./_assets/file-upload.png)
+
+## Supported File Types
+
+- **Images** — Share screenshots, photos, or diagrams for the model to analyze
+- **Documents & Files** — Upload PDFs or other files for the model to read and reason about
+
+## How to Upload
+
+1. Click the **+** button at the bottom left of the chat input
+2. Choose **Add Images** or **Add documents or files**
+3. Select your file — it will be attached to your next message
+4. Type your question and send
+
+### Vision Model Required for Images
+
+If your current model does not support vision, Jan will automatically prompt you to download **Jan V2 VL** — the recommended vision model (~5GB). Click **Download** to install it, then you'll be ready to chat with images.
+
+![Vision Model Prompt](./_assets/file-upload-vision-prompt.png)
+
+All files are processed locally on your machine. When using a local model such as Jan's built-in models, your files never leave your device — inference happens entirely on your own hardware with full privacy. If you use a cloud model provider (e.g. OpenAI, Anthropic), files are sent to that provider's API as part of the request.