diff --git a/README.md b/README.md index 46a16222..19048b7a 100644 --- a/README.md +++ b/README.md @@ -73,17 +73,18 @@ the docs. ## CLI -Docling has built-in CLI to run conversions. -A simple example would look like this: +Docling has a built-in CLI to run conversions. + ```bash docling https://arxiv.org/pdf/2206.01062 ``` -You can also use 🥚[SmolDocling](https://huggingface.co/ds4sd/SmolDocling-256M-preview) via Docling CLI: +You can also use 🥚[SmolDocling](https://huggingface.co/ds4sd/SmolDocling-256M-preview) and other VLMs via Docling CLI: ```bash docling --pipeline vlm --vlm-model smoldocling https://arxiv.org/pdf/2206.01062 ``` This will use MLX acceleration on supported Apple Silicon hardware. + Read more [here](https://docling-project.github.io/docling/usage/) ## Documentation diff --git a/docs/index.md b/docs/index.md index 1b3f4569..acc9933f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -26,7 +26,7 @@ Docling simplifies document processing, parsing diverse formats — including ad * 🔒 Local execution capabilities for sensitive data and air-gapped environments * 🤖 Plug-and-play [integrations][integrations] incl. LangChain, LlamaIndex, Crew AI & Haystack for agentic AI * 🔍 Extensive OCR support for scanned PDFs and images -* 🥚 Support of Visual Language Models ([SmolDocling](https://huggingface.co/ds4sd/SmolDocling-256M-preview)) 🆕 +* 🥚 Support of Visual Language Models ([SmolDocling](https://huggingface.co/ds4sd/SmolDocling-256M-preview)) 🆕🔥 * 💻 Simple and convenient CLI ### Coming soon diff --git a/docs/usage/index.md b/docs/usage/index.md index eb29a336..acf33976 100644 --- a/docs/usage/index.md +++ b/docs/usage/index.md @@ -17,22 +17,20 @@ print(result.document.export_to_markdown()) # output: "### Docling Technical Re You can also use Docling directly from your command line to convert individual files —be it local or by URL— or whole directories. -A simple example would look like this: ```console docling https://arxiv.org/pdf/2206.01062 ``` - -To see all available options (export formats etc.) run `docling --help`. More details in the [CLI reference page](../reference/cli.md). - -### Advanced options - -#### SmolDocling via CLI -You can also use 🥚[SmolDocling](https://huggingface.co/ds4sd/SmolDocling-256M-preview) via Docling CLI: +You can also use 🥚[SmolDocling](https://huggingface.co/ds4sd/SmolDocling-256M-preview) and other VLMs via Docling CLI: ```bash docling --pipeline vlm --vlm-model smoldocling https://arxiv.org/pdf/2206.01062 ``` This will use MLX acceleration on supported Apple Silicon hardware. + +To see all available options (export formats etc.) run `docling --help`. More details in the [CLI reference page](../reference/cli.md). + +### Advanced options + #### Model prefetching and offline usage By default, models are downloaded automatically upon first usage. If you would prefer