mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-30 14:04:27 +00:00
Updated README
Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
This commit is contained in:
parent
16664f2cd6
commit
40b3f597f3
19
README.md
19
README.md
@ -35,7 +35,7 @@ Docling simplifies document processing, parsing diverse formats — including ad
|
|||||||
* 🔒 Local execution capabilities for sensitive data and air-gapped environments
|
* 🔒 Local execution capabilities for sensitive data and air-gapped environments
|
||||||
* 🤖 Plug-and-play [integrations][integrations] incl. LangChain, LlamaIndex, Crew AI & Haystack for agentic AI
|
* 🤖 Plug-and-play [integrations][integrations] incl. LangChain, LlamaIndex, Crew AI & Haystack for agentic AI
|
||||||
* 🔍 Extensive OCR support for scanned PDFs and images
|
* 🔍 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
|
* 💻 Simple and convenient CLI
|
||||||
|
|
||||||
### Coming soon
|
### Coming soon
|
||||||
@ -57,7 +57,7 @@ More [detailed installation instructions](https://docling-project.github.io/docl
|
|||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
To convert individual documents, use `convert()`, for example:
|
To convert individual documents with python, use `convert()`, for example:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from docling.document_converter import DocumentConverter
|
from docling.document_converter import DocumentConverter
|
||||||
@ -71,6 +71,21 @@ print(result.document.export_to_markdown()) # output: "## Docling Technical Rep
|
|||||||
More [advanced usage options](https://docling-project.github.io/docling/usage/) are available in
|
More [advanced usage options](https://docling-project.github.io/docling/usage/) are available in
|
||||||
the docs.
|
the docs.
|
||||||
|
|
||||||
|
## CLI
|
||||||
|
|
||||||
|
Docling has built-in CLI to run conversions.
|
||||||
|
A simple example would look like this:
|
||||||
|
```bash
|
||||||
|
docling https://arxiv.org/pdf/2206.01062
|
||||||
|
```
|
||||||
|
|
||||||
|
You can also use 🥚[SmolDocling](https://huggingface.co/ds4sd/SmolDocling-256M-preview) via Docling CLI:
|
||||||
|
```bash
|
||||||
|
docling --pipeline vlm --vlm-model smoldocling tests/data/pdf/2305.03393v1-pg9.pdf
|
||||||
|
```
|
||||||
|
This will use MLX acceleration on supported Apple Silicon hardware.
|
||||||
|
Read more [here](https://docling-project.github.io/docling/usage/)
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
Check out Docling's [documentation](https://docling-project.github.io/docling/), for details on
|
Check out Docling's [documentation](https://docling-project.github.io/docling/), for details on
|
||||||
|
Loading…
Reference in New Issue
Block a user