langchain-ocr-lib 0.4.0__py3-none-any.whl → 0.4.1__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.
- langchain_ocr_lib/di_config.py +1 -1
- langchain_ocr_lib/impl/llms/llm_type.py +1 -1
- langchain_ocr_lib/impl/settings/llm_class_type_settings.py +1 -1
- {langchain_ocr_lib-0.4.0.dist-info → langchain_ocr_lib-0.4.1.dist-info}/METADATA +1 -2
- {langchain_ocr_lib-0.4.0.dist-info → langchain_ocr_lib-0.4.1.dist-info}/RECORD +7 -7
- {langchain_ocr_lib-0.4.0.dist-info → langchain_ocr_lib-0.4.1.dist-info}/WHEEL +0 -0
- {langchain_ocr_lib-0.4.0.dist-info → langchain_ocr_lib-0.4.1.dist-info}/entry_points.txt +0 -0
langchain_ocr_lib/di_config.py
CHANGED
@@ -63,7 +63,7 @@ def lib_di_config(binder: Binder):
|
|
63
63
|
settings = VllmSettings()
|
64
64
|
model_name = settings.model_name
|
65
65
|
partial_llm_provider = partial(llm_provider, settings, ChatOpenAI)
|
66
|
-
elif llm_class_type_settings.llm_type == "
|
66
|
+
elif llm_class_type_settings.llm_type == "togetherai":
|
67
67
|
settings = TogetherAISettings()
|
68
68
|
model_name = settings.model_name
|
69
69
|
partial_llm_provider = partial(llm_provider, settings, ChatTogether)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: langchain-ocr-lib
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.1
|
4
4
|
Summary: Modular, vision-LLM-powered chain to convert image and PDF documents into clean Markdown.
|
5
5
|
License: MIT
|
6
6
|
Author: Andreas Klos
|
@@ -128,7 +128,6 @@ Use the the library programmatically:
|
|
128
128
|
```python
|
129
129
|
import inject
|
130
130
|
|
131
|
-
import configure_di
|
132
131
|
from langchain_ocr_lib.di_config import configure_di
|
133
132
|
from langchain_ocr_lib.di_binding_keys.binding_keys import PdfConverterKey
|
134
133
|
from langchain_ocr_lib.impl.converter.pdf_converter import Pdf2MarkdownConverter
|
@@ -5,7 +5,7 @@ langchain_ocr_lib/converter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
|
|
5
5
|
langchain_ocr_lib/converter/converter.py,sha256=oDUNzVWD743RgqIal7T4OVv-Z1RKE9uQYzAIPpgY3o8,1280
|
6
6
|
langchain_ocr_lib/di_binding_keys/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
langchain_ocr_lib/di_binding_keys/binding_keys.py,sha256=jE8rwNcLaI0NflIMkK0vu0LVy5o4y0pYgdjbpDNTGyk,338
|
8
|
-
langchain_ocr_lib/di_config.py,sha256=
|
8
|
+
langchain_ocr_lib/di_config.py,sha256=W4z5G4amupZR2YSB3LTgBwTSsPfsIcDy62wgeK4rdT8,4284
|
9
9
|
langchain_ocr_lib/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
langchain_ocr_lib/impl/chains/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
11
|
langchain_ocr_lib/impl/chains/ocr_chain.py,sha256=stE8RLE1ieRHf6XHreKCRfhNfXzw9fNLTake7xQBGL8,2673
|
@@ -16,11 +16,11 @@ langchain_ocr_lib/impl/langfuse_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5J
|
|
16
16
|
langchain_ocr_lib/impl/langfuse_manager/langfuse_manager.py,sha256=6kvPfYObLmbYZAvtYNx7g9xz5wYz0PxohEzyctpGRto,5353
|
17
17
|
langchain_ocr_lib/impl/llms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
18
18
|
langchain_ocr_lib/impl/llms/llm_factory.py,sha256=pYPwUowm8r42BwOn4W1j4-cEpL9LCCkZU_pJ4xQhshU,2200
|
19
|
-
langchain_ocr_lib/impl/llms/llm_type.py,sha256=
|
19
|
+
langchain_ocr_lib/impl/llms/llm_type.py,sha256=PX1mjlmDuGBL3a5_tAlyfk22Jq6Z7WIOJMyjCrDWqOA,316
|
20
20
|
langchain_ocr_lib/impl/settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
21
21
|
langchain_ocr_lib/impl/settings/langfuse_settings.py,sha256=QT4_VwYj0msFbgL3qIQ-oer3Lt0qny0FFAyfssGu-q0,962
|
22
22
|
langchain_ocr_lib/impl/settings/language_settings.py,sha256=tdAC1t5wGu1MoH1jhjkDnxnX4Ui7giwxt7Qm8_LPkP8,627
|
23
|
-
langchain_ocr_lib/impl/settings/llm_class_type_settings.py,sha256=
|
23
|
+
langchain_ocr_lib/impl/settings/llm_class_type_settings.py,sha256=DQVH1ZP_5ZVm-FtZb9sLtDxpzWdWxU3QOuztwOA_V5Y,598
|
24
24
|
langchain_ocr_lib/impl/settings/ollama_chat_settings.py,sha256=YQkgD7CfOjHN5wkpJakO0GfM7-D2GqoJLP1gB2932ms,1525
|
25
25
|
langchain_ocr_lib/impl/settings/openai_chat_settings.py,sha256=5OnHo8a2iRsEvohn09Lf30MNFgS1GWVvOa5kyUusHCQ,1407
|
26
26
|
langchain_ocr_lib/impl/settings/together_ai_chat_settings.py,sha256=Jr2dHPpa1VTKwbrCLrjxkHCkWv1-iY1w0DQoklD9SB8,1470
|
@@ -33,7 +33,7 @@ langchain_ocr_lib/prompt_templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
|
|
33
33
|
langchain_ocr_lib/prompt_templates/ocr_prompt.py,sha256=3Be1AL-HJkxPnAP0DNH1MqvAxFWTCeM5UOKP63xkHsY,3543
|
34
34
|
langchain_ocr_lib/tracers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
35
35
|
langchain_ocr_lib/tracers/traced_chain.py,sha256=uxRkdLNn_G6dAsti_gUuF7muhIj10xrOUL7HUga40oc,3056
|
36
|
-
langchain_ocr_lib-0.4.
|
37
|
-
langchain_ocr_lib-0.4.
|
38
|
-
langchain_ocr_lib-0.4.
|
39
|
-
langchain_ocr_lib-0.4.
|
36
|
+
langchain_ocr_lib-0.4.1.dist-info/METADATA,sha256=jxzkkmk8K1sydghIvc4zk8rNl6zJ08EWozh0UKzl-c8,6471
|
37
|
+
langchain_ocr_lib-0.4.1.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
38
|
+
langchain_ocr_lib-0.4.1.dist-info/entry_points.txt,sha256=l4mIs0tnIgbJYuVveZySQKVBnqNMHS-8ZZtLwz8ag5k,61
|
39
|
+
langchain_ocr_lib-0.4.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|