langroid 0.1.236__py3-none-any.whl → 0.1.238__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.
File without changes
@@ -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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: langroid
3
- Version: 0.1.236
3
+ Version: 0.1.238
4
4
  Summary: Harness LLMs with Multi-Agent Programming
5
5
  License: MIT
6
6
  Author: Prasad Chalasani
@@ -29,7 +29,7 @@ Requires-Dist: chainlit (>=1.0.400,<2.0.0) ; extra == "chainlit"
29
29
  Requires-Dist: chromadb (>=0.4.21,<=0.4.23) ; extra == "chromadb"
30
30
  Requires-Dist: colorlog (>=6.7.0,<7.0.0)
31
31
  Requires-Dist: docstring-parser (>=0.15,<0.16)
32
- Requires-Dist: duckduckgo-search (>=4.4,<5.0)
32
+ Requires-Dist: duckduckgo-search (>=5.3.0,<6.0.0)
33
33
  Requires-Dist: faker (>=18.9.0,<19.0.0)
34
34
  Requires-Dist: fakeredis (>=2.12.1,<3.0.0)
35
35
  Requires-Dist: fire (>=0.5.0,<0.6.0)
@@ -58,6 +58,7 @@ Requires-Dist: mkdocstrings[python] (>=0.21.2,<0.22.0) ; extra == "mkdocs"
58
58
  Requires-Dist: momento (>=1.10.2,<2.0.0)
59
59
  Requires-Dist: mypy (>=1.7.0,<2.0.0)
60
60
  Requires-Dist: neo4j (>=5.14.1,<6.0.0) ; extra == "neo4j"
61
+ Requires-Dist: nest-asyncio (>=1.6.0,<2.0.0)
61
62
  Requires-Dist: nltk (>=3.8.1,<4.0.0)
62
63
  Requires-Dist: onnxruntime (==1.16.1)
63
64
  Requires-Dist: openai (>=1.14.0,<2.0.0)
@@ -82,6 +83,7 @@ Requires-Dist: pytest-postgresql (>=5.0.0,<6.0.0) ; extra == "postgres"
82
83
  Requires-Dist: pytest-redis (>=3.0.2,<4.0.0)
83
84
  Requires-Dist: python-docx (>=1.1.0,<2.0.0)
84
85
  Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
86
+ Requires-Dist: python-magic (>=0.4.27,<0.5.0)
85
87
  Requires-Dist: python-socketio (>=5.11.0,<6.0.0) ; extra == "chainlit"
86
88
  Requires-Dist: qdrant-client (>=1.8.0,<2.0.0)
87
89
  Requires-Dist: rank-bm25 (>=0.2.2,<0.3.0)
@@ -52,6 +52,7 @@ langroid/embedding_models/__init__.py,sha256=AJg2668ytmUyqYP0SGw-ZKz2ITi4YK7IAv2
52
52
  langroid/embedding_models/base.py,sha256=xY9QF01ilsMvaNH4JMDvkZgXY59AeYR4VAykgNd6Flg,1818
53
53
  langroid/embedding_models/clustering.py,sha256=tZWElUqXl9Etqla0FAa7og96iDKgjqWjucZR_Egtp-A,6684
54
54
  langroid/embedding_models/models.py,sha256=-xeN0irBPc1tUgRFHGM1ki4NwOIHr6F3SKuEjD5nTOg,7144
55
+ langroid/embedding_models/protoc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
56
  langroid/embedding_models/protoc/embeddings.proto,sha256=_O-SgFpTaylQeOTgSpxhEJ7CUw7PeCQQJLaPqpPYKJg,321
56
57
  langroid/embedding_models/protoc/embeddings_pb2.py,sha256=4Q57PhOunv-uZNJrxYrWBXAI0ZtfnVZXFRhRj5JuRSg,1662
57
58
  langroid/embedding_models/protoc/embeddings_pb2.pyi,sha256=UkNy7BrNsmQm0vLb3NtGXy8jVtz-kPWwwFsX-QbQBhQ,1475
@@ -74,7 +75,7 @@ langroid/parsing/agent_chats.py,sha256=sbZRV9ujdM5QXvvuHVjIi2ysYSYlap-uqfMMUKulr
74
75
  langroid/parsing/code-parsing.md,sha256=--cyyNiSZSDlIwcjAV4-shKrSiRe2ytF3AdSoS_hD2g,3294
75
76
  langroid/parsing/code_parser.py,sha256=BbDAzp35wkYQ9U1dpf1ARL0lVyi0tfqEc6_eox2C090,3727
76
77
  langroid/parsing/config.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
77
- langroid/parsing/document_parser.py,sha256=RYqaVHvuJPFq1i9bUlrVhGKAYKf_Qnaza_K-TWnwWZw,23045
78
+ langroid/parsing/document_parser.py,sha256=sfyNhkIdAQkufOHb-tTv63EF51pGNzrnAl0DNeLR40I,23049
78
79
  langroid/parsing/image_text.py,sha256=sbLIQ5nHe2UnYUksBaQsmZGaX-X0qgEpPd7CEzi_z5M,910
79
80
  langroid/parsing/para_sentence_split.py,sha256=AJBzZojP3zpB-_IMiiHismhqcvkrVBQ3ZINoQyx_bE4,2000
80
81
  langroid/parsing/parse_json.py,sha256=tgB_oatcrgt6L9ZplC-xBBXjLzL1gjSQf1L2_W5kwFA,4230
@@ -120,7 +121,7 @@ langroid/vector_store/meilisearch.py,sha256=d2huA9P-NoYRuAQ9ZeXJmMKr7ry8u90RUSR2
120
121
  langroid/vector_store/momento.py,sha256=9cui31TTrILid2KIzUpBkN2Ey3g_CZWOQVdaFsA4Ors,10045
121
122
  langroid/vector_store/qdrant_cloud.py,sha256=3im4Mip0QXLkR6wiqVsjV1QvhSElfxdFSuDKddBDQ-4,188
122
123
  langroid/vector_store/qdrantdb.py,sha256=foKRxRv0BBony6S4Vt0Vav9Rn9HMxZvcIh1cE7nosFE,13524
123
- langroid-0.1.236.dist-info/LICENSE,sha256=EgVbvA6VSYgUlvC3RvPKehSg7MFaxWDsFuzLOsPPfJg,1065
124
- langroid-0.1.236.dist-info/METADATA,sha256=jZ9zU6bW0HHFIwFgeUvlDp4VrpPvoYsOk0S6nAbvHNw,48866
125
- langroid-0.1.236.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
126
- langroid-0.1.236.dist-info/RECORD,,
124
+ langroid-0.1.238.dist-info/LICENSE,sha256=EgVbvA6VSYgUlvC3RvPKehSg7MFaxWDsFuzLOsPPfJg,1065
125
+ langroid-0.1.238.dist-info/METADATA,sha256=iEL1DmrhI05zIB_LurL0V-YDGIsDe8iWrMZQIH0IurY,48961
126
+ langroid-0.1.238.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
127
+ langroid-0.1.238.dist-info/RECORD,,