mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Doc: Updated How to update MinerU's settings (#10818)
### What problem does this PR solve? ### Type of change - [x] Documentation Update
This commit is contained in:
17
docs/faq.mdx
17
docs/faq.mdx
@ -538,14 +538,13 @@ uv pip install -U "mineru[core]" -i https://mirrors.aliyun.com/pypi/simple
|
||||
|
||||
---
|
||||
|
||||
### How to specify the settings of MinerU?
|
||||
### How to configure MinerU-specific settings?
|
||||
|
||||
Set `MINERU_EXECUTABLE` to the path of the MinerU executable. (Default: mineru)
|
||||
1. Set `MINERU_EXECUTABLE` (default: `mineru`) to the path of the MinerU executable.
|
||||
2. Set `MINERU_DELETE_OUTPUT` to `0` to keep MinerU's output. (Default: `1`, which deletes temporary output)
|
||||
3. Set `MINERU_OUTPUT_DIR` to specify the output directory for MinerU.
|
||||
4. Set `MINERU_BACKEND` to `"pipeline"`. (Options: `"pipeline"` (default) | `"vlm-transformers"`)
|
||||
|
||||
Set `MINERU_DELETE_OUTPUT=0` to keep MinerU's output. (Default: 1, which deletes temporary output)
|
||||
|
||||
Set `MINERU_OUTPUT_DIR` to specify the output directory. (Uses a temporary directory if unset)
|
||||
|
||||
Set `MINERU_BACKEND="pipeline"` to choose the backend. (Options: pipeline | vlm-transformers, default is pipeline)
|
||||
|
||||
Other environment variables listed [here](https://opendatalab.github.io/MinerU/usage/cli_tools/#environment-variables-description) are supported automatically by MinerU.
|
||||
:::tip NOTE
|
||||
For information about other environment variables natively supported by MinerU, see [here](https://opendatalab.github.io/MinerU/usage/cli_tools/#environment-variables-description).
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user