mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 20:58:11 +00:00
docs: fixed a few typos (#2441)
Signed-off-by: Imad Saddik <79410781+ImadSaddik@users.noreply.github.com>
This commit is contained in:
6
docs/usage/enrichments.md
vendored
6
docs/usage/enrichments.md
vendored
@@ -16,7 +16,7 @@ The following table provides an overview of the default enrichment models availa
|
|||||||
|
|
||||||
### Code understanding
|
### Code understanding
|
||||||
|
|
||||||
The code understanding step allows to use advance parsing for code blocks found in the document.
|
The code understanding step allows to use advanced parsing for code blocks found in the document.
|
||||||
This enrichment model also set the `code_language` property of the `CodeItem`.
|
This enrichment model also set the `code_language` property of the `CodeItem`.
|
||||||
|
|
||||||
Model specs: see the [`CodeFormula` model card](https://huggingface.co/ds4sd/CodeFormula).
|
Model specs: see the [`CodeFormula` model card](https://huggingface.co/ds4sd/CodeFormula).
|
||||||
@@ -168,7 +168,7 @@ from docling.datamodel.pipeline_options import PictureDescriptionVlmOptions
|
|||||||
|
|
||||||
pipeline_options.picture_description_options = PictureDescriptionVlmOptions(
|
pipeline_options.picture_description_options = PictureDescriptionVlmOptions(
|
||||||
repo_id="", # <-- add here the Hugging Face repo_id of your favorite VLM
|
repo_id="", # <-- add here the Hugging Face repo_id of your favorite VLM
|
||||||
prompt="Describe the image in three sentences. Be consise and accurate.",
|
prompt="Describe the image in three sentences. Be concise and accurate.",
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -209,7 +209,7 @@ End-to-end code snippets for cloud providers are available in the examples secti
|
|||||||
|
|
||||||
## Develop new enrichment models
|
## Develop new enrichment models
|
||||||
|
|
||||||
Beside looking at the implementation of all the models listed above, the Docling documentation has a few examples
|
Besides looking at the implementation of all the models listed above, the Docling documentation has a few examples
|
||||||
dedicated to the implementation of enrichment models.
|
dedicated to the implementation of enrichment models.
|
||||||
|
|
||||||
- [Develop picture enrichment](../examples/develop_picture_enrichment.py)
|
- [Develop picture enrichment](../examples/develop_picture_enrichment.py)
|
||||||
|
|||||||
Reference in New Issue
Block a user