lfx-nightly 0.1.11.dev0__py3-none-any.whl → 0.1.11.dev3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lfx/components/docling/docling_remote.py +2 -3
- {lfx_nightly-0.1.11.dev0.dist-info → lfx_nightly-0.1.11.dev3.dist-info}/METADATA +1 -1
- {lfx_nightly-0.1.11.dev0.dist-info → lfx_nightly-0.1.11.dev3.dist-info}/RECORD +5 -5
- {lfx_nightly-0.1.11.dev0.dist-info → lfx_nightly-0.1.11.dev3.dist-info}/WHEEL +0 -0
- {lfx_nightly-0.1.11.dev0.dist-info → lfx_nightly-0.1.11.dev3.dist-info}/entry_points.txt +0 -0
@@ -103,13 +103,13 @@ class DoclingRemoteComponent(BaseFileComponent):
|
|
103
103
|
]
|
104
104
|
|
105
105
|
def process_files(self, file_list: list[BaseFileComponent.BaseFile]) -> list[BaseFileComponent.BaseFile]:
|
106
|
-
base_url = f"{self.api_url}/
|
106
|
+
base_url = f"{self.api_url}/v1"
|
107
107
|
|
108
108
|
def _convert_document(client: httpx.Client, file_path: Path, options: dict[str, Any]) -> Data | None:
|
109
109
|
encoded_doc = base64.b64encode(file_path.read_bytes()).decode()
|
110
110
|
payload = {
|
111
111
|
"options": options,
|
112
|
-
"
|
112
|
+
"sources": [{"kind": "file", "base64_string": encoded_doc, "filename": file_path.name}],
|
113
113
|
}
|
114
114
|
|
115
115
|
response = client.post(f"{base_url}/convert/source/async", json=payload)
|
@@ -165,7 +165,6 @@ class DoclingRemoteComponent(BaseFileComponent):
|
|
165
165
|
docling_options = {
|
166
166
|
"to_formats": ["json"],
|
167
167
|
"image_export_mode": "placeholder",
|
168
|
-
"return_as_file": False,
|
169
168
|
**(self.docling_serve_opts or {}),
|
170
169
|
}
|
171
170
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: lfx-nightly
|
3
|
-
Version: 0.1.11.
|
3
|
+
Version: 0.1.11.dev3
|
4
4
|
Summary: Langflow Executor - A lightweight CLI tool for executing and serving Langflow AI flows
|
5
5
|
Author-email: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
|
6
6
|
Requires-Python: <3.14,>=3.10
|
@@ -243,7 +243,7 @@ lfx/components/deepseek/deepseek.py,sha256=yNrHoljXOMScKng-oSB-ceWhVZeuh11lmrAY7
|
|
243
243
|
lfx/components/docling/__init__.py,sha256=O4utz9GHFpTVe_Wy0PR80yA1irJQRnAFQWkoLCVj888,1424
|
244
244
|
lfx/components/docling/chunk_docling_document.py,sha256=OX-jj4nX3UZgopViMAGAnFgtLql0sgs6cVmU8p9QbqA,7600
|
245
245
|
lfx/components/docling/docling_inline.py,sha256=uq_YULsYVaz31A6HaHnE7rKacJXWAcEsC_LdWj_8arA,8278
|
246
|
-
lfx/components/docling/docling_remote.py,sha256=
|
246
|
+
lfx/components/docling/docling_remote.py,sha256=kwMS_-QMiM_JmPqvtHf4gDS73d2hZrIbtAPsN8bZxGE,6769
|
247
247
|
lfx/components/docling/export_docling_document.py,sha256=TeFt3TesCxSqW57nv-30gf2dX8qMDUHLRhwU-1ciq08,4681
|
248
248
|
lfx/components/documentloaders/__init__.py,sha256=LNl2hG2InevQCUREFKhF9ylaTf_kwPsdjiDbx2ElX3M,69
|
249
249
|
lfx/components/duckduckgo/__init__.py,sha256=Y4zaOLVOKsD_qwF7KRLek1pcaKKHa6lGUHObuQTR9iY,104
|
@@ -693,7 +693,7 @@ lfx/utils/schemas.py,sha256=NbOtVQBrn4d0BAu-0H_eCTZI2CXkKZlRY37XCSmuJwc,3865
|
|
693
693
|
lfx/utils/util.py,sha256=xGR32XDRr_TtruhjnXfI7lEWmk-vgywHAy3kz5SBowc,15725
|
694
694
|
lfx/utils/util_strings.py,sha256=nU_IcdphNaj6bAPbjeL-c1cInQPfTBit8mp5Y57lwQk,1686
|
695
695
|
lfx/utils/version.py,sha256=cHpbO0OJD2JQAvVaTH_6ibYeFbHJV0QDHs_YXXZ-bT8,671
|
696
|
-
lfx_nightly-0.1.11.
|
697
|
-
lfx_nightly-0.1.11.
|
698
|
-
lfx_nightly-0.1.11.
|
699
|
-
lfx_nightly-0.1.11.
|
696
|
+
lfx_nightly-0.1.11.dev3.dist-info/METADATA,sha256=zqKCmD8aVeyDEjzJncCUlnIPOFfV6nZOICp3Y4UE-Hk,7971
|
697
|
+
lfx_nightly-0.1.11.dev3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
698
|
+
lfx_nightly-0.1.11.dev3.dist-info/entry_points.txt,sha256=1724p3RHDQRT2CKx_QRzEIa7sFuSVO0Ux70YfXfoMT4,42
|
699
|
+
lfx_nightly-0.1.11.dev3.dist-info/RECORD,,
|
File without changes
|
File without changes
|