Miscellaneous UI updates (#6094)

### What problem does this PR solve?

#6049 

### Type of change

- [x] Documentation Update
- [x] Other (please describe): UI updates
This commit is contained in:
writinwaters
2025-03-17 14:17:34 +08:00
committed by GitHub
parent fabc5e9259
commit 5983803c8b
17 changed files with 49 additions and 28 deletions

View File

@ -421,7 +421,7 @@ You can use Ollama or Xinference to deploy local LLM. See [here](./guides/models
---
### Is it possible to add an LLM that is not supported?
### How to add an LLM that is not supported?
If your model is not currently supported but has APIs compatible with those of OpenAI, click **OpenAI-API-Compatible** on the **Model providers** page to configure your model:
@ -438,6 +438,19 @@ See [here](./guides/models/deploy_local_llm.mdx) for more information.
---
### How to change the file size limit?
For a locally deployed RAGFlow: the total file size limit per upload is 1GB, with a batch upload limit of 32 files. There is no cap on the total number of files per account. To update this 1GB file size limit:
- In **docker/.env**, upcomment `# MAX_CONTENT_LENGTH=1073741824`, adjust the value as needed, and note that `1073741824` represents 1GB in bytes.
- If you update the value of `MAX_CONTENT_LENGTH` in **docker/.env**, ensure that you update `client_max_body_size` in **nginx/nginx.conf** accordingly.
:::tip NOTE
It is not recommended to manually change the 32-file batch upload limit. However, if you use RAGFlow's HTTP API or Python SDK to upload files, the 32-file batch upload limit is automatically removed.
:::
---
### `Error: Range of input length should be [1, 30000]`
This error occurs because there are too many chunks matching your search criteria. Try reducing the **TopN** and increasing **Similarity threshold** to fix this issue:
@ -461,4 +474,4 @@ See [Acquire a RAGFlow API key](./develop/acquire_ragflow_api_key.md).
See [Upgrade RAGFlow](./guides/upgrade_ragflow.mdx) for more information.
---
---

View File

@ -31,6 +31,10 @@ An opening greeting is the agent's first message to the user. It can be a welcom
You can set global variables within the **Begin** component, which can be either required or optional. Once established, users will need to provide values for these variables when interacting or chatting with the agent. Click **+ Add variable** to add a global variable, each with the following attributes:
:::caution WARNING
If your agent's **Begin** component takes a variable, you *cannot* embed it into a webpage.
:::
- **Key**: *Required*
The unique variable name.
- **Name**: *Required*

View File

@ -8,7 +8,7 @@ slug: /embed_agent_into_webpage
You can use iframe to embed an agent into a third-party webpage.
:::caution WARNING
If your agent's **Begin** component takes a key of **file** type (a **file** type variable), you *cannot* embed it into a webpage.
If your agent's **Begin** component takes a variable, you *cannot* embed it into a webpage.
:::
1. Before proceeding, you must [acquire an API key](../models/llm_api_key_setup.md); otherwise, an error message would appear.

View File

@ -16,4 +16,4 @@ Please note that some of your settings may consume a significant amount of time.
- On the configuration page of your knowledge base, switch off **Use RAPTOR to enhance retrieval**.
- Extracting knowledge graph (GraphRAG) is time-consuming.
- Disable **Auto-keyword** and **Auto-question** on the configuration page of yor knowledge base, as both depend on the LLM.
- **v0.17.0:** If your document is plain text PDF and does not require GPU-intensive processes like OCR (Optical Character Recognition), TSR (Table Structure Recognition), or DLA (Document Layout Analysis), you can choose **Naive** over **DeepDoc** or other time-consuming large model options in the **Document parser** dropdown. This will substantially reduce document parsing time.
- **v0.17.0+:** If your document is plain text PDF and does not require GPU-intensive processes like OCR (Optical Character Recognition), TSR (Table Structure Recognition), or DLA (Document Layout Analysis), you can choose **Naive** over **DeepDoc** or other time-consuming large model options in the **Document parser** dropdown. This will substantially reduce document parsing time.

View File

@ -30,6 +30,10 @@ _On the **Team** page, you can view the information about members of your team a
You are, by default, the owner of your own team and the only person permitted to invite users to join your team or remove team members.
:::danger IMPORTANT
When using email address to invite a team member, ensure it is associated with an existing RAGFlow account to avoid errors.
:::
![invite_team_member](https://github.com/user-attachments/assets/d85b55c3-7e86-4f04-a414-ca18a9ee8963)
## Remove team members

View File

@ -28,11 +28,11 @@ Released on March 13, 2025.
#### HTTP APIs
[Create chat completion](./references/http_api_reference.md#openai-compatible-api)
- [Create chat completion](./references/http_api_reference.md#openai-compatible-api)
#### Python APIs
[Create chat completion](./references/python_api_reference.md#openai-compatible-api)
- [Create chat completion](./references/python_api_reference.md#openai-compatible-api)
## v0.17.1