Design proposal for remote apis #768
dolfim-ibm
started this conversation in
Ideas
Replies: 1 comment
-
@dolfim-ibm great idea. It would be super helpful to also have well-documented examples of how the user could plug-in a self-hosted OCR model via API and the required output format to be further processed by the pipeline |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, Docling is designed to run only local models which are not sharing any user data with remote services. We see the need to allow new generation of models to communicate with remote services. Among others, possible use cases are invoking OCR engines from cloud vendors and the usage hosted LLMs.
The following design is proposing to add explicit options for the users to opt-in in remote communication. All PRs will be reviewed by the maintainers to make sure this is consistently propagated in future changes.
Proposal
Settings for remote services
Then the value will be propagated to the init of the models which would like to invoke remote services.
True
, this raises an exceptionUsage
Beta Was this translation helpful? Give feedback.
All reactions