langroid 0.1.237__py3-none-any.whl → 0.1.239__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.
- langroid/parsing/document_parser.py +2 -2
- {langroid-0.1.237.dist-info → langroid-0.1.239.dist-info}/METADATA +3 -2
- {langroid-0.1.237.dist-info → langroid-0.1.239.dist-info}/RECORD +5 -5
- {langroid-0.1.237.dist-info → langroid-0.1.239.dist-info}/LICENSE +0 -0
- {langroid-0.1.237.dist-info → langroid-0.1.239.dist-info}/WHEEL +0 -0
@@ -455,14 +455,14 @@ class ImagePdfParser(DocumentParser):
|
|
455
455
|
|
456
456
|
def iterate_pages(
|
457
457
|
self,
|
458
|
-
) -> Generator[Tuple[int, Image], None, None]: # type: ignore
|
458
|
+
) -> Generator[Tuple[int, "Image"], None, None]: # type: ignore
|
459
459
|
from pdf2image import convert_from_bytes
|
460
460
|
|
461
461
|
images = convert_from_bytes(self.doc_bytes.getvalue())
|
462
462
|
for i, image in enumerate(images):
|
463
463
|
yield i, image
|
464
464
|
|
465
|
-
def extract_text_from_page(self, page: Image) -> str: # type: ignore
|
465
|
+
def extract_text_from_page(self, page: "Image") -> str: # type: ignore
|
466
466
|
"""
|
467
467
|
Extract text from a given `pdf2image` page.
|
468
468
|
|
@@ -1,13 +1,14 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: langroid
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.239
|
4
4
|
Summary: Harness LLMs with Multi-Agent Programming
|
5
5
|
License: MIT
|
6
6
|
Author: Prasad Chalasani
|
7
7
|
Author-email: pchalasani@gmail.com
|
8
|
-
Requires-Python: >=3.
|
8
|
+
Requires-Python: >=3.10,<3.12
|
9
9
|
Classifier: License :: OSI Approved :: MIT License
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
11
12
|
Classifier: Programming Language :: Python :: 3.11
|
12
13
|
Provides-Extra: chainlit
|
13
14
|
Provides-Extra: chromadb
|
@@ -75,7 +75,7 @@ langroid/parsing/agent_chats.py,sha256=sbZRV9ujdM5QXvvuHVjIi2ysYSYlap-uqfMMUKulr
|
|
75
75
|
langroid/parsing/code-parsing.md,sha256=--cyyNiSZSDlIwcjAV4-shKrSiRe2ytF3AdSoS_hD2g,3294
|
76
76
|
langroid/parsing/code_parser.py,sha256=BbDAzp35wkYQ9U1dpf1ARL0lVyi0tfqEc6_eox2C090,3727
|
77
77
|
langroid/parsing/config.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
78
|
-
langroid/parsing/document_parser.py,sha256=
|
78
|
+
langroid/parsing/document_parser.py,sha256=sfyNhkIdAQkufOHb-tTv63EF51pGNzrnAl0DNeLR40I,23049
|
79
79
|
langroid/parsing/image_text.py,sha256=sbLIQ5nHe2UnYUksBaQsmZGaX-X0qgEpPd7CEzi_z5M,910
|
80
80
|
langroid/parsing/para_sentence_split.py,sha256=AJBzZojP3zpB-_IMiiHismhqcvkrVBQ3ZINoQyx_bE4,2000
|
81
81
|
langroid/parsing/parse_json.py,sha256=tgB_oatcrgt6L9ZplC-xBBXjLzL1gjSQf1L2_W5kwFA,4230
|
@@ -121,7 +121,7 @@ langroid/vector_store/meilisearch.py,sha256=d2huA9P-NoYRuAQ9ZeXJmMKr7ry8u90RUSR2
|
|
121
121
|
langroid/vector_store/momento.py,sha256=9cui31TTrILid2KIzUpBkN2Ey3g_CZWOQVdaFsA4Ors,10045
|
122
122
|
langroid/vector_store/qdrant_cloud.py,sha256=3im4Mip0QXLkR6wiqVsjV1QvhSElfxdFSuDKddBDQ-4,188
|
123
123
|
langroid/vector_store/qdrantdb.py,sha256=foKRxRv0BBony6S4Vt0Vav9Rn9HMxZvcIh1cE7nosFE,13524
|
124
|
-
langroid-0.1.
|
125
|
-
langroid-0.1.
|
126
|
-
langroid-0.1.
|
127
|
-
langroid-0.1.
|
124
|
+
langroid-0.1.239.dist-info/LICENSE,sha256=EgVbvA6VSYgUlvC3RvPKehSg7MFaxWDsFuzLOsPPfJg,1065
|
125
|
+
langroid-0.1.239.dist-info/METADATA,sha256=OqbY4y93jSmtPY7XjpgI_VLm3G6tromEe-MmtKMsDVE,49012
|
126
|
+
langroid-0.1.239.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
127
|
+
langroid-0.1.239.dist-info/RECORD,,
|
File without changes
|
File without changes
|