Skip to content

Commit 57fbd52

Browse files
authored
Merge pull request #1718 from silentoplayz/codex/docs-support-chat-branches-knowledge-access
docs: clarify chat branches and Knowledge access
2 parents 3cbe5af + 6dd06d9 commit 57fbd52

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎docs/features/authentication-access/rbac/permissions.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Some permissions are **dependent** on others (e.g., you cannot import models if
4848
| **Import Models** | *(Requires Models Access)* Ability to import models from JSON/files. |
4949
| **Export Models** | *(Requires Models Access)* Ability to export models to files. |
5050
| **Hidden Models** | *(Requires Models Access)* Ability to pick hidden models as the base model of a workspace model ([`USER_PERMISSIONS_WORKSPACE_MODELS_HIDDEN`](/reference/env-configuration#user_permissions_workspace_models_hidden)). Off by default. |
51-
| **Knowledge Access** | Access the **Knowledge** workspace to manage knowledge bases. |
51+
| **Knowledge Access** | Open the **Knowledge** workspace and create knowledge bases ([`USER_PERMISSIONS_WORKSPACE_KNOWLEDGE_ACCESS`](/reference/env-configuration#user_permissions_workspace_knowledge_access)). Off by default for non-admins. Access to an existing knowledge base is governed separately by ownership and [resource grants](./groups.md#access-grant-system). |
5252
| **Prompts Access** | **(Parent)** Access the **Prompts** workspace to manage custom system prompts. |
5353
| **Import Prompts** | *(Requires Prompts Access)* Ability to import prompts. |
5454
| **Export Prompts** | *(Requires Prompts Access)* Ability to export prompts. |

‎docs/features/chat-conversations/chat-features/index.mdx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ Open WebUI provides a comprehensive set of chat features designed to enhance you
4747

4848
- **Fork a Chat**: Branch a conversation into an independent copy from any assistant response. The **Fork chat** action on a message copies the history from the start of the conversation up to that point into a new chat titled `<original title> (fork)`, so you can take a different direction without touching the original. A fork of your own chat keeps its folder, pin, tags and chat variables. Shared and read-only chats can be forked too; see [Cloning or Forking a Shared Chat](/features/chat-conversations/chat-features/chatshare#cloning-or-forking-a-shared-chat). Forking requires the [Chat Import](/features/authentication-access/rbac/permissions#3-chat-permissions) permission (`chat.import`, allowed by default; admins always pass). Without it the **Fork chat** action is not shown on a message at all. Forking is also unavailable while a response is still streaming, and in a temporary chat, which is never stored.
4949

50+
- **Regenerate a Response**: In a single-model chat, **Regenerate** creates another reply to the same prompt. Use the arrows under the reply to switch between versions. When you send your next message, the chat continues from the branch you are viewing. Only messages along that branch are included from the conversation history.
51+
5052
- **Chat Overview**: A map of the whole conversation, opened as a tab beside the chat. Open it with **Overview** in the **+** menu of the [tab bar](#tabs-side-panel), listed as soon as the chat has a message in it. Each message is a card showing who wrote it, you or the model, and the start of its text. Rest the pointer on a card to read the whole message. Regenerated responses and edited prompts that you send again branch off as cards of their own, and the lines along the branch you are viewing are animated. Click a card to switch the chat to that branch. The chat scrolls to the message unless **Scroll On Branch Change** is off in **Settings > Interface**. The controls in the corner zoom in and out, fit the map to the window, switch between a vertical and a horizontal layout, and pin the view so it stops moving to the current message. A message where older messages were summarized by context compaction carries a **Context compacted** tag on the map.
5153

5254
- **Favorite Responses**: Mark a response so you can find it again on the Chat Overview map. Rest the pointer on a model's card and click the heart. A favorite keeps a filled red heart on its card. Click the heart again to remove the mark. Clicking the heart also switches the chat to that branch, like clicking the card, and the mark is saved with the chat, except in a temporary chat. An Action plugin can set the same mark with the [`chat:message:favorite`](/features/extensibility/plugin/development/events#chatmessagefavorite) event.

‎docs/reference/api-endpoints.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ Before adding a file to a knowledge base, verify that processing has completed u
712712

713713
#### Adding Files to Knowledge Collections
714714

715-
After uploading, you can group files into a knowledge base or reference them individually in chats.
715+
After uploading, you can group files into a knowledge base or reference them individually in chats. Adding a file to an existing local knowledge base requires ownership of the knowledge base, a **Write** grant on it, or an administrator account. Non-admins also need read access to files they do not own.
716716

717717
:::important
718718
**Always wait for file processing to complete before adding files to a knowledge base.** Files that are still processing will have empty content, causing a `400` error. Use the status endpoint described above to verify the file status is `completed`.

0 commit comments

Comments
 (0)