docs: add description of DOCLING_ARTIFACTS_PATH env var (#1124)

add env var in docs

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
Signed-off-by: Rafael Teixeira de Lima <Rafael.td.lima@gmail.com>
This commit is contained in:
Michele Dolfi 2025-03-06 07:30:07 +01:00 committed by Rafael Teixeira de Lima
parent 01ea754c4a
commit 94fa84fbc2

View File

@ -71,6 +71,13 @@ Or using the CLI:
docling --artifacts-path="/local/path/to/models" FILE docling --artifacts-path="/local/path/to/models" FILE
``` ```
Or using the `DOCLING_ARTIFACTS_PATH` environment variable:
```sh
export DOCLING_ARTIFACTS_PATH="/local/path/to/models"
python my_docling_script.py
```
#### Using remote services #### Using remote services
The main purpose of Docling is to run local models which are not sharing any user data with remote services. The main purpose of Docling is to run local models which are not sharing any user data with remote services.