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

add env var in docs

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi 2025-03-06 07:30:07 +01:00 committed by GitHub
parent a3c957ca6b
commit e1c49ad727
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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.