mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-31 07:36:46 +08:00
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:
17
docs/faq.md
17
docs/faq.md
@ -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.
|
||||
|
||||
---
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user