mirror of
https://github.com/open-webui/docs
synced 2025-05-22 04:06:11 +00:00
Update system-prompt.md
This commit is contained in:
parent
99747f0979
commit
b2ea0856f7
@ -13,11 +13,11 @@ Within Open WebUI, there are three levels to setting a **System Prompt** and **A
|
||||
| **Per-Model** | Default system prompt and advanced parameters for a specific model | Administrators can set, Users cannot modify | Admin-specific settings take precedence, User settings can be overridden |
|
||||
| **Per-Account** | Default system prompt and advanced parameters for a specific user account | Users can set, but may be overridden by model-specific settings | User settings can be overridden by model-specific settings |
|
||||
|
||||
### 1. **Per-chat basis**
|
||||
### 1. **Per-chat basis:**
|
||||
|
||||
- **Description**: The per-chat basis setting refers to the system prompt and advanced parameters configured for a specific chat instance. These settings are only applicable to the current conversation and do not affect future chats.
|
||||
- **How to set**: Users can modify the system prompt and advanced parameters for a specific chat instance within the right-hand sidebar's **Chat Controls** section in Open WebUI.
|
||||
- **Override capabilities**: Users are restricted from overriding the **System Prompt** or specific **Advanced Parameters** already set by an administrator on a per-model basis **(2)**. This ensures consistency and adherence to model-specific settings.
|
||||
- **Override capabilities**: Users are restricted from overriding the **System Prompt** or specific **Advanced Parameters** already set by an administrator on a per-model basis (**#2**). This ensures consistency and adherence to model-specific settings.
|
||||
|
||||
<details>
|
||||
<summary>Example Use Case</summary>
|
||||
@ -26,11 +26,11 @@ Suppose a user wants to set a custom system prompt for a specific conversation.
|
||||
:::
|
||||
</details>
|
||||
|
||||
### 2. **Per-model basis**
|
||||
### 2. **Per-model basis:**
|
||||
|
||||
- **Description**: The per-model basis setting refers to the default system prompt and advanced parameters configured for a specific model. These settings are applicable to all chat instances using that model.
|
||||
- **How to set**: Administrators can set the default system prompt and advanced parameters for a specific model within the **Models** section of the **Workspace** in Open WebUI.
|
||||
- **Override capabilities**: **User** accounts are restricted from modifying the **System Prompt** or specific **Advanced Parameters** on a per-model basis **(#3)**. This restriction prevents users from inappropriately altering default settings.
|
||||
- **Override capabilities**: **User** accounts are restricted from modifying the **System Prompt** or specific **Advanced Parameters** on a per-model basis (**#3**). This restriction prevents users from inappropriately altering default settings.
|
||||
- **Context length preservation:** When a model's **System Prompt** or specific **Advanced Parameters** are set manually in the **Workspace** section by an Admin, said **System Prompt** or manually set **Advanced Parameters** cannot be overridden or adjusted on a per-account basis within the **General** settings or **Chat Controls** section by a **User** account. This ensures consistency and prevents excessive reloading of the model whenever a user's context length setting changes.
|
||||
- **Model precedence:** If a model's **System Prompt** or specific **Advanced Parameters** value is pre-set in the Workspace section by an Admin, any context length changes made by a **User** account in the **General** settings or **Chat Controls** section will be disregarded, maintaining the pre-configured value for that model. Be advised that parameters left untouched by an **Admin** account can still be manually adjusted by a **User** account on a per-account or per-chat basis.
|
||||
|
||||
@ -41,7 +41,7 @@ Suppose an administrator wants to set a default system prompt for a specific mod
|
||||
:::
|
||||
</details>
|
||||
|
||||
### 3. **Per-account basis**
|
||||
### 3. **Per-account basis:**
|
||||
|
||||
- **Description**: The per-account basis setting refers to the default system prompt and advanced parameters configured for a specific user account. Any user-specific changes can serve as a fallback in situations where lower-level settings aren't defined.
|
||||
- **How to set**: Users can set their own system prompt and advanced parameters for their account within the **General** section of the **Settings** menu in Open WebUI.
|
||||
@ -54,9 +54,9 @@ Suppose a user wants to set their own system prompt for their account. They can
|
||||
:::
|
||||
</details>
|
||||
|
||||
## **Bonus Tips: Optimize System Prompt Settings for Maximum Flexibility**
|
||||
## **Optimize System Prompt Settings for Maximum Flexibility**
|
||||
|
||||
:::tip
|
||||
:::tip **Bonus Tips**
|
||||
**This tip applies for both administrators and user accounts. To achieve maximum flexibility with your system prompts, we recommend considering the following setup:**
|
||||
|
||||
* Assign your primary System Prompt (**i.e., to give an LLM a defining character**) you want to use in your **General** settings **System Prompt** field. This sets it on a per-account level and allows it to work as the system prompt across all your LLMs without requiring adjustments within a model from the **Workspace** section.
|
||||
|
Loading…
Reference in New Issue
Block a user