mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-07-31 01:41:59 +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:
parent
fabc5e9259
commit
5983803c8b
@ -545,7 +545,7 @@ class ComponentBase(ABC):
|
||||
return df
|
||||
|
||||
def get_input_elements(self):
|
||||
assert self._param.query, "Please identify input parameters firstly."
|
||||
assert self._param.query, "Please verify the input parameters first."
|
||||
eles = []
|
||||
for q in self._param.query:
|
||||
if q.get("component_id"):
|
||||
|
@ -126,9 +126,9 @@ TIMEZONE='Asia/Shanghai'
|
||||
# MACOS=1
|
||||
|
||||
# The maximum file size for each uploaded file, in bytes.
|
||||
# You can uncomment this line and update the value if you wish to change the 1024M file size limit
|
||||
# To change the 1GB file size limit, uncomment the following line and make your changes accordingly.
|
||||
# MAX_CONTENT_LENGTH=1073741824
|
||||
# After making the change, ensure you update `client_max_body_size` in nginx/nginx.conf correspondingly.
|
||||
# After the change, ensure you update `client_max_body_size` in nginx/nginx.conf correspondingly.
|
||||
|
||||
# The log level for the RAGFlow's owned packages and imported packages.
|
||||
# Available level:
|
||||
|
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.
|
||||
|
||||
---
|
||||
---
|
||||
|
@ -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*
|
||||
|
@ -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.
|
||||
|
@ -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.
|
@ -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.
|
||||
:::
|
||||
|
||||

|
||||
|
||||
## Remove team members
|
||||
|
@ -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
|
||||
|
||||
|
@ -153,7 +153,7 @@ export default {
|
||||
changeSpecificCategory: 'Spezifische Kategorie ändern',
|
||||
uploadTitle: 'Ziehen Sie Ihre Datei hierher, um sie hochzuladen',
|
||||
uploadDescription:
|
||||
'Unterstützt einzelne oder mehrere Datei-Uploads. Dateien dürfen jeweils 10MB nicht überschreiten, mit maximal 128 Dateien.',
|
||||
'RAGFlow unterstützt das Hochladen von Dateien einzeln oder in Batches. Für lokal bereitgestelltes RAGFlow: Die maximale Dateigröße pro Upload beträgt 1 GB, mit einem Batch-Upload-Limit von 32 Dateien. Es gibt keine Begrenzung der Gesamtanzahl an Dateien pro Konto. Für demo.ragflow.io: Die maximale Dateigröße pro Upload beträgt 10 MB, wobei jede Datei nicht größer als 10 MB sein darf und maximal 128 Dateien pro Konto erlaubt sind.',
|
||||
chunk: 'Chunk',
|
||||
bulk: 'Masse',
|
||||
cancel: 'Abbrechen',
|
||||
@ -746,7 +746,7 @@ export default {
|
||||
directory: 'Verzeichnis',
|
||||
uploadTitle: 'Ziehen Sie Ihre Datei hierher, um sie hochzuladen',
|
||||
uploadDescription:
|
||||
'Unterstützt einzelne oder Massen-Datei-Uploads. Dateien dürfen jeweils 10MB nicht überschreiten, mit maximal 128 Dateien.',
|
||||
'RAGFlow unterstützt das Hochladen von Dateien einzeln oder in Batches. Für lokal bereitgestelltes RAGFlow: Die maximale Dateigröße pro Upload beträgt 1 GB, mit einem Batch-Upload-Limit von 32 Dateien. Es gibt keine Begrenzung der Gesamtanzahl an Dateien pro Konto. Für demo.ragflow.io: Die maximale Dateigröße pro Upload beträgt 10 MB, wobei jede Datei nicht größer als 10 MB sein darf und maximal 128 Dateien pro Konto erlaubt sind.',
|
||||
local: 'Lokale Uploads',
|
||||
s3: 'S3-Uploads',
|
||||
preview: 'Vorschau',
|
||||
|
@ -152,7 +152,7 @@ export default {
|
||||
changeSpecificCategory: 'Change specific category',
|
||||
uploadTitle: 'Drag and drop your file here to upload',
|
||||
uploadDescription:
|
||||
'Supports single or bulk file upload. Files must not exceed 10MB each, with a maximum of 128 files.',
|
||||
'Supports single or batch file upload. 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. For demo.ragflow.io, the total file size limit per upload is 10MB, with each file not exceeding 10MB and a maximum of 128 files per account.',
|
||||
chunk: 'Chunk',
|
||||
bulk: 'Bulk',
|
||||
cancel: 'Cancel',
|
||||
@ -749,7 +749,7 @@ This auto-tag feature enhances retrieval by adding another layer of domain-speci
|
||||
directory: 'Directory',
|
||||
uploadTitle: 'Drag and drop your file here to upload',
|
||||
uploadDescription:
|
||||
'Supports single or bulk file upload. Files must not exceed 10MB each, with a maximum of 128 files.',
|
||||
'Supports single or batch file upload. 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. For demo.ragflow.io, the total file size limit per upload is 10MB, with each file not exceeding 10MB and a maximum of 128 files per account.',
|
||||
local: 'Local uploads',
|
||||
s3: 'S3 uploads',
|
||||
preview: 'Preview',
|
||||
|
@ -484,13 +484,13 @@ export default {
|
||||
directory: 'Directorio',
|
||||
uploadTitle: 'Haz clic o arrastra el archivo a esta área para subir',
|
||||
uploadDescription:
|
||||
'Soporte para una sola carga o carga múltiple. Está estrictamente prohibido subir datos de la empresa u otros archivos prohibidos.',
|
||||
'RAGFlow admite la carga de archivos de forma individual o por lotes. Para un RAGFlow desplegado localmente: el límite total de tamaño de archivo por carga es de 1 GB, con un límite de carga por lote de 32 archivos. No hay límite en el número total de archivos por cuenta. Para demo.ragflow.io: el límite total de tamaño de archivo por carga es de 10 MB, con cada archivo no excediendo los 10 MB y un máximo de 128 archivos por cuenta.',
|
||||
local: 'Subidas locales',
|
||||
s3: 'Subidas a S3',
|
||||
preview: 'Vista previa',
|
||||
fileError: 'Error en el archivo',
|
||||
uploadLimit:
|
||||
'El tamaño del archivo no puede exceder los 10 MB, y el número total de archivos no puede exceder los 128',
|
||||
'RAGFlow admite la carga de archivos de forma individual o por lotes. Para un RAGFlow desplegado localmente: el límite total de tamaño de archivo por carga es de 1 GB, con un límite de carga por lote de 32 archivos. No hay límite en el número total de archivos por cuenta. Para demo.ragflow.io: el límite total de tamaño de archivo por carga es de 10 MB, con cada archivo no excediendo los 10 MB y un máximo de 128 archivos por cuenta.',
|
||||
destinationFolder: 'Carpeta de destino',
|
||||
},
|
||||
flow: {
|
||||
|
@ -147,7 +147,7 @@ export default {
|
||||
changeSpecificCategory: 'Ubah kategori spesifik',
|
||||
uploadTitle: 'Klik atau seret file ke area ini untuk mengunggah',
|
||||
uploadDescription:
|
||||
'Dukungan untuk unggahan tunggal atau massal. Dilarang keras mengunggah data perusahaan atau file terlarang lainnya.',
|
||||
'RAGFlow mendukung pengunggahan file secara tunggal atau batch. Untuk RAGFlow yang dideploy secara lokal: batas ukuran total file per unggahan adalah 1GB, dengan batas unggahan batch sebanyak 32 file. Tidak ada batasan jumlah total file per akun. Untuk demo.ragflow.io: batas ukuran total file per unggahan adalah 10MB, dengan setiap file tidak melebihi 10MB dan maksimum 128 file per akun.',
|
||||
chunk: 'Potongan',
|
||||
bulk: 'Massal',
|
||||
cancel: 'Batal',
|
||||
@ -652,7 +652,7 @@ export default {
|
||||
directory: 'Direktori',
|
||||
uploadTitle: 'Klik atau seret file ke area ini untuk mengunggah',
|
||||
uploadDescription:
|
||||
'Dukungan untuk unggahan tunggal atau massal. Dilarang keras mengunggah data perusahaan atau file terlarang lainnya.',
|
||||
'RAGFlow mendukung pengunggahan file secara tunggal atau batch. Untuk RAGFlow yang dideploy secara lokal: batas ukuran total file per unggahan adalah 1GB, dengan batas unggahan batch sebanyak 32 file. Tidak ada batasan jumlah total file per akun. Untuk demo.ragflow.io: batas ukuran total file per unggahan adalah 10MB, dengan setiap file tidak melebihi 10MB dan maksimum 128 file per akun.',
|
||||
local: 'Unggahan lokal',
|
||||
s3: 'Unggahan S3',
|
||||
preview: 'Pratinjau',
|
||||
|
@ -657,13 +657,13 @@ export default {
|
||||
directory: 'ディレクトリ',
|
||||
uploadTitle: 'クリックまたはドラッグしてファイルをアップロード',
|
||||
uploadDescription:
|
||||
'単一または一括アップロードをサポートします。各ファイルは10MBを超えないこと、最大128ファイルまでです。',
|
||||
'RAGFlowは、単一またはバッチでのファイルアップロードをサポートします。ローカルにデプロイされた RAGFlow の場合: アップロードごとの合計ファイルサイズ制限は 1GB、バッチアップロードの制限は 32 ファイルです。アカウントごとのファイル総数には制限がありません。demo.ragflow.io の場合: アップロードごとの合計ファイルサイズ制限は 10MB、各ファイルは 10MB を超えず、アカウントごとに最大 128 ファイルまでです。',
|
||||
local: 'ローカルアップロード',
|
||||
s3: 'S3アップロード',
|
||||
preview: 'プレビュー',
|
||||
fileError: 'ファイルエラー',
|
||||
uploadLimit:
|
||||
'ファイルサイズは10MBを超えることはできず、同時にアップロードできるファイル数は128を超えることはできません。',
|
||||
'RAGFlowは、単一またはバッチでのファイルアップロードをサポートします。ローカルにデプロイされた RAGFlow の場合: アップロードごとの合計ファイルサイズ制限は 1GB、バッチアップロードの制限は 32 ファイルです。アカウントごとのファイル総数には制限がありません。demo.ragflow.io の場合: アップロードごとの合計ファイルサイズ制限は 10MB、各ファイルは 10MB を超えず、アカウントごとに最大 128 ファイルまでです。',
|
||||
destinationFolder: '保存先フォルダ',
|
||||
},
|
||||
flow: {
|
||||
|
@ -644,13 +644,13 @@ export default {
|
||||
uploadTitle:
|
||||
'Clique ou arraste o arquivo para esta área para fazer o upload',
|
||||
uploadDescription:
|
||||
'Suporta upload de um único arquivo ou múltiplos arquivos. É estritamente proibido o upload de dados da empresa ou outros arquivos proibidos.',
|
||||
'O RAGFlow suporta o upload de arquivos de forma individual ou em lote. Para o RAGFlow implantado localmente: o limite total de tamanho de arquivo por upload é de 1GB, com um limite de upload em lote de 32 arquivos. Não há limite para o número total de arquivos por conta. Para o demo.ragflow.io: o limite total de tamanho de arquivo por upload é de 10MB, com cada arquivo não excedendo 10MB e um máximo de 128 arquivos por conta.',
|
||||
local: 'Uploads locais',
|
||||
s3: 'Uploads S3',
|
||||
preview: 'Pré-visualização',
|
||||
fileError: 'Erro no arquivo',
|
||||
uploadLimit:
|
||||
'O tamanho do arquivo não pode exceder 10M, e o número total de arquivos não pode exceder 128',
|
||||
'O RAGFlow suporta o upload de arquivos de forma individual ou em lote. Para o RAGFlow implantado localmente: o limite total de tamanho de arquivo por upload é de 1GB, com um limite de upload em lote de 32 arquivos. Não há limite para o número total de arquivos por conta. Para o demo.ragflow.io: o limite total de tamanho de arquivo por upload é de 10MB, com cada arquivo não excedendo 10MB e um máximo de 128 arquivos por conta.',
|
||||
destinationFolder: 'Pasta de destino',
|
||||
},
|
||||
flow: {
|
||||
|
@ -153,7 +153,7 @@ export default {
|
||||
changeSpecificCategory: 'Thay đổi danh mục cụ thể',
|
||||
uploadTitle: 'Nhấp hoặc kéo thả tệp vào khu vực này để tải lên',
|
||||
uploadDescription:
|
||||
'Hỗ trợ tải lên đơn hoặc hàng loạt. Nghiêm cấm tải lên dữ liệu công ty hoặc các tệp bị cấm khác.',
|
||||
'RAGFlow hỗ trợ tải lên tệp một lần hoặc theo lô. Đối với RAGFlow triển khai cục bộ: giới hạn tổng kích thước tệp cho mỗi lần tải lên là 1GB, với giới hạn tải lên theo lô là 32 tệp. Không có giới hạn về tổng số tệp trên mỗi tài khoản. Đối với demo.ragflow.io: giới hạn tổng kích thước tệp cho mỗi lần tải lên là 10MB, với mỗi tệp không vượt quá 10MB và tối đa là 128 tệp trên mỗi tài khoản.',
|
||||
chunk: 'Khối',
|
||||
bulk: 'Hàng loạt',
|
||||
cancel: 'Hủy bỏ',
|
||||
@ -711,7 +711,7 @@ export default {
|
||||
directory: 'Thư mục',
|
||||
uploadTitle: 'Nhấp hoặc kéo thả tệp vào khu vực này để tải lên',
|
||||
uploadDescription:
|
||||
'Hỗ trợ tải lên đơn hoặc hàng loạt. Nghiêm cấm tải lên dữ liệu công ty hoặc các tệp bị cấm khác.',
|
||||
'RAGFlow hỗ trợ tải lên tệp một lần hoặc theo lô. Đối với RAGFlow triển khai cục bộ: giới hạn tổng kích thước tệp cho mỗi lần tải lên là 1GB, với giới hạn tải lên theo lô là 32 tệp. Không có giới hạn về tổng số tệp trên mỗi tài khoản. Đối với demo.ragflow.io: giới hạn tổng kích thước tệp cho mỗi lần tải lên là 10MB, với mỗi tệp không vượt quá 10MB và tối đa là 128 tệp trên mỗi tài khoản.',
|
||||
local: 'Tải lên cục bộ',
|
||||
s3: 'Tải lên S3',
|
||||
preview: 'Xem trước',
|
||||
|
@ -150,7 +150,7 @@ export default {
|
||||
changeSpecificCategory: '更改特定類別',
|
||||
uploadTitle: '點擊或拖拽文件至此區域即可上傳',
|
||||
uploadDescription:
|
||||
'支持單次或批量上傳。單個檔案大小不超過10MB,最多上傳128份檔案。',
|
||||
'支持單次或批量上傳。本地部署的單次上傳檔案總大小上限為 1GB,單次批量上傳檔案數不超過 32,單個帳戶不限檔案數量。對於 demo.ragflow.io,每次上傳的文件總大小限制為 10MB,每個文件不得超過 10MB,且每個帳戶最多可上傳 128 個文件。',
|
||||
chunk: '解析塊',
|
||||
bulk: '批量',
|
||||
cancel: '取消',
|
||||
@ -715,14 +715,14 @@ export default {
|
||||
parseOnCreation: '創建時解析',
|
||||
uploadTitle: '點擊或拖拽文件至此區域即可上傳',
|
||||
uploadDescription:
|
||||
'支持單次或批量上傳。單個檔案大小不超過10MB,最多上傳128份檔案。',
|
||||
'支持單次或批量上傳。本地部署的單次上傳檔案總大小上限為 1GB,單次批量上傳檔案數不超過 32,單個帳戶不限檔案數量。對於 demo.ragflow.io,每次上傳的文件總大小限制為 10MB,每個文件不得超過 10MB,且每個帳戶最多可上傳 128 個文件。',
|
||||
file: '文件',
|
||||
directory: '文件夾',
|
||||
local: '本地上傳',
|
||||
s3: 'S3 上傳',
|
||||
preview: '預覽',
|
||||
fileError: '文件錯誤',
|
||||
uploadLimit: '文件大小不能超過10M,文件總數不超過128個',
|
||||
uploadLimit: '本地部署的單次上傳檔案總大小上限為 1GB,單次批量上傳檔案數不超過 32,單個帳戶不限檔案數量。',
|
||||
destinationFolder: '目標資料夾',
|
||||
},
|
||||
flow: {
|
||||
|
@ -150,7 +150,7 @@ export default {
|
||||
changeSpecificCategory: '更改特定类别',
|
||||
uploadTitle: '点击或拖拽文件至此区域即可上传',
|
||||
uploadDescription:
|
||||
'支持单次或批量上传。单个文件大小不超过10MB,最多上传128份文件。严禁上传违禁文件。',
|
||||
'支持单次或批量上传。本地部署的单次上传文件总大小上限为 1GB,单次批量上传文件数不超过 32,单个账户不限文件数量。对于 demo.ragflow.io:每次上传的总文件大小限制为 10MB,每个文件不得超过 10MB,每个账户最多可上传 128 个文件。严禁上传违禁文件。',
|
||||
chunk: '解析块',
|
||||
bulk: '批量',
|
||||
cancel: '取消',
|
||||
@ -733,7 +733,7 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于
|
||||
parseOnCreation: '创建时解析',
|
||||
uploadTitle: '点击或拖拽文件至此区域即可上传',
|
||||
uploadDescription:
|
||||
'支持单次或批量上传。 单个文件大小不超过10MB,最多上传128份文件。严禁上传违禁文件。',
|
||||
'支持单次或批量上传。 本地部署的单次上传文件总大小上限为 1GB,单次批量上传文件数不超过 32,单个账户不限文件数量。对于 demo.ragflow.io:每次上传的总文件大小限制为 10MB,每个文件不得超过 10MB,每个账户最多可上传 128 个文件。严禁上传违禁文件。',
|
||||
file: '文件',
|
||||
directory: '文件夹',
|
||||
local: '本地上传',
|
||||
|
Loading…
x
Reference in New Issue
Block a user