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: FUNCTIONAL_MANUAL.md
+31-6Lines changed: 31 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,13 +148,36 @@ Import PDFs by dragging `.pdf` files from your operating system into the sidebar
148
148
149
149
#### RAG (Chat with Workspace)
150
150
151
-
The "Chat with Workspace" feature allows you to query your entire collection of documents using a local AI model.
151
+
The "Chat with Workspace" feature allows you to query your entire collection of documents using a local AI model. It uses semantic search to find answers even when you don't use the exact keywords.
152
+
153
+
-**Indexing**: Before you can chat, DocForge needs to index your workspace. This process creates a semantic representation of your documents.
154
+
- Click **Build Index** (or **Rebuild**) in the Chat Panel to start.
155
+
- A progress bar will show the number of documents being processed.
156
+
- Once complete, the "indexed" badge in the chat header will reflect the current state of your workspace.
157
+
-**Semantic Retrieval**: When you ask a question, DocForge searches for the most relevant "chunks" of text across all your indexed files.
158
+
-**Configurable Retrieval**: In Settings, you can adjust the **RAG Similarity Threshold**.
159
+
- A **lower value** (e.g., 0.8) makes the search more restrictive, returning only highly relevant matches.
160
+
- A **higher value** (e.g., 1.5) returns more broad context.
161
+
-**Context Limit**: You can configure the chat to analyze up to **500 documents** at once for deep workspace insights.
162
+
-**Source Attribution**: When the AI answers a question, it lists the specific documents it used as context.
163
+
- Click a source badge to instantly open and navigate to that document.
164
+
- Sources are streamed as soon as the search completes, before the AI starts typing its answer.
165
+
-**Smart Privacy**: If the AI determines that none of the retrieved documents contain the answer to your question, the source list is automatically hidden to keep the chat interface clean.
166
+
167
+
#### Multi-Document Context
168
+
169
+
Beyond searching your entire workspace, you can explicitly "pin" documents to a conversation for focused reasoning.
170
+
171
+
-**Adding Context**:
172
+
-**Right-Click**: Select one or more documents in the sidebar, right-click, and choose **Add to Chat Context**.
173
+
-**Drag and Drop**: Drag one or more nodes from the sidebar and drop them directly onto the Chat Panel. A "Drop to add Context" overlay will appear.
174
+
-**Context Badges**: Active context is displayed as badges at the top of the chat area.
175
+
-**Active Document**: Automatically includes the file you are currently editing.
176
+
-**Pinned Documents**: Indicated with a 📌 icon. These stay in the context even if you switch tabs.
177
+
-**Selection active**: If you select text in the editor, it is automatically included in the next chat message.
178
+
-**Removing Context**: Click the **X** on any context badge to remove that specific document from the current session.
179
+
-**Cross-Document Reasoning**: Use this to ask questions like "Compare the requirements in Document A with the implementation in Document B."
152
180
153
-
-**Indexing**: Before you can chat, DocForge needs to index your workspace. This process creates a semantic representation of your documents, allowing the AI to find relevant context even if the exact keywords don't match.
154
-
-**Configurable Retrieval**: In Settings, you can adjust the **RAG Similarity Threshold**. A lower value (e.g., 0.8) makes the search more restrictive, returning only highly relevant matches, while a higher value (e.g., 1.5) returns more context.
155
-
-**Context Limit**: You can configure the chat to analyze up to **500 documents** at once for deep workspace insights.
156
-
-**Source Attribution**: When the AI answers a question, it lists the specific documents it used as context. These sources are streamed immediately as soon as the search completes.
157
-
-**Smart Privacy**: If the AI determines that none of the retrieved documents contain the answer to your question, the source list is automatically hidden to keep the chat interface clean.
158
181
159
182
#### Agentic Chat & Workspace Orchestration
160
183
@@ -199,6 +222,8 @@ You can drop an item (or a group of items):
199
222
200
223
**Importing from your computer:** You can also drag files and folders directly from your operating system's file explorer into the sidebar. Dropping them on a folder will import them into that folder, while dropping them in an empty area will import them to the root. The original folder structure is preserved.
201
224
225
+
**Adding to Chat Context:** Drag and drop is also used to augment your AI conversations. Drag one or more documents from the sidebar and drop them onto the **Chat Panel** to instantly pin them as context for your next question.
226
+
202
227
### AI-Powered Refinement
203
228
204
229
Clicking the **Refine with AI** (sparkles) button in the editor toolbar sends your current document content to your configured local LLM. The AI's task is not to *answer* the document's request, but to *improve* the document itself. A modal will appear with the suggested refinement, which you can then accept or discard. The "Accept" button is the default and can be triggered by pressing `Enter`. This feature is available for Markdown and plaintext documents.
0 commit comments