langroid 0.28.0__py3-none-any.whl → 0.28.2__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/agent/base.py +3 -2
- {langroid-0.28.0.dist-info → langroid-0.28.2.dist-info}/METADATA +2 -2
- {langroid-0.28.0.dist-info → langroid-0.28.2.dist-info}/RECORD +6 -6
- pyproject.toml +8 -2
- {langroid-0.28.0.dist-info → langroid-0.28.2.dist-info}/LICENSE +0 -0
- {langroid-0.28.0.dist-info → langroid-0.28.2.dist-info}/WHEEL +0 -0
langroid/agent/base.py
CHANGED
@@ -324,8 +324,9 @@ class Agent(ABC):
|
|
324
324
|
len(inspect.signature(message_class.response).parameters) > 2
|
325
325
|
)
|
326
326
|
if has_chat_doc_arg:
|
327
|
-
setattr(
|
328
|
-
|
327
|
+
setattr(
|
328
|
+
self, handler, lambda obj, chat_doc: obj.response(self, chat_doc)
|
329
|
+
)
|
329
330
|
else:
|
330
331
|
setattr(self, handler, lambda obj: obj.response(self))
|
331
332
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: langroid
|
3
|
-
Version: 0.28.
|
3
|
+
Version: 0.28.2
|
4
4
|
Summary: Harness LLMs with Multi-Agent Programming
|
5
5
|
License: MIT
|
6
6
|
Author: Prasad Chalasani
|
@@ -83,7 +83,7 @@ Requires-Dist: pygments (>=2.15.1,<3.0.0)
|
|
83
83
|
Requires-Dist: pymupdf (>=1.23.3,<2.0.0) ; extra == "doc-chat" or extra == "all" or extra == "pdf-parsers"
|
84
84
|
Requires-Dist: pymysql (>=1.1.0,<2.0.0) ; extra == "db" or extra == "all" or extra == "mysql" or extra == "sql"
|
85
85
|
Requires-Dist: pyparsing (>=3.0.9,<4.0.0)
|
86
|
-
Requires-Dist: pypdf (>=
|
86
|
+
Requires-Dist: pypdf (>=5.1.0) ; extra == "doc-chat" or extra == "all" or extra == "pdf-parsers"
|
87
87
|
Requires-Dist: pytesseract (>=0.3.10,<0.4.0) ; extra == "doc-chat" or extra == "all" or extra == "pdf-parsers"
|
88
88
|
Requires-Dist: pytest-rerunfailures (>=15.0,<16.0)
|
89
89
|
Requires-Dist: python-arango (>=8.1.2,<9.0.0) ; extra == "all" or extra == "arango"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
langroid/__init__.py,sha256=z_fCOLQJPOw3LLRPBlFB5-2HyCjpPgQa4m4iY5Fvb8Y,1800
|
2
2
|
langroid/agent/__init__.py,sha256=ll0Cubd2DZ-fsCMl7e10hf9ZjFGKzphfBco396IKITY,786
|
3
|
-
langroid/agent/base.py,sha256=
|
3
|
+
langroid/agent/base.py,sha256=ZgWsRBC9rugcWp9aZLAmFFteU47pqKIEoTy_dgkYtBI,77529
|
4
4
|
langroid/agent/batch.py,sha256=qK3ph6VNj_1sOhfXCZY4r6gh035DglDKU751p8BU0tY,14665
|
5
5
|
langroid/agent/callbacks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
langroid/agent/callbacks/chainlit.py,sha256=C6zzzYC30qC4eMA7al7eFpRoTgoe3475kaMKyXgQM0Q,20695
|
@@ -142,8 +142,8 @@ langroid/vector_store/meilisearch.py,sha256=6frB7GFWeWmeKzRfLZIvzRjllniZ1cYj3Hmh
|
|
142
142
|
langroid/vector_store/momento.py,sha256=UNHGT6jXuQtqY9f6MdqGU14bVnS0zHgIJUa30ULpUJo,10474
|
143
143
|
langroid/vector_store/qdrant_cloud.py,sha256=3im4Mip0QXLkR6wiqVsjV1QvhSElfxdFSuDKddBDQ-4,188
|
144
144
|
langroid/vector_store/qdrantdb.py,sha256=v7mCsijc2GdRJyil-yFaUVAX4SX5D75mD3vzlpjCMuo,17393
|
145
|
-
pyproject.toml,sha256=
|
146
|
-
langroid-0.28.
|
147
|
-
langroid-0.28.
|
148
|
-
langroid-0.28.
|
149
|
-
langroid-0.28.
|
145
|
+
pyproject.toml,sha256=dExOb_TNepHJ9ar18cXmLNGWuVE9xp4dePb-XMzTeDU,7741
|
146
|
+
langroid-0.28.2.dist-info/LICENSE,sha256=EgVbvA6VSYgUlvC3RvPKehSg7MFaxWDsFuzLOsPPfJg,1065
|
147
|
+
langroid-0.28.2.dist-info/METADATA,sha256=813AGZ3nFUF-FZGq2bBPv5pCFZfs438v9HuPI-e4lYY,57569
|
148
|
+
langroid-0.28.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
149
|
+
langroid-0.28.2.dist-info/RECORD,,
|
pyproject.toml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "langroid"
|
3
|
-
version = "0.28.
|
3
|
+
version = "0.28.2"
|
4
4
|
description = "Harness LLMs with Multi-Agent Programming"
|
5
5
|
authors = ["Prasad Chalasani <pchalasani@gmail.com>"]
|
6
6
|
readme = "README.md"
|
@@ -29,7 +29,7 @@ huggingface-hub = {version="^0.21.2", optional=true}
|
|
29
29
|
transformers = {version="^4.40.1", optional=true}
|
30
30
|
lancedb = {version="^0.8.2", optional=true}
|
31
31
|
tantivy = {version="^0.21.0", optional=true}
|
32
|
-
pypdf = {version="
|
32
|
+
pypdf = {version=">=5.1.0", optional=true}
|
33
33
|
pymupdf = {version="^1.23.3", optional=true}
|
34
34
|
pdf2image = {version="^1.17.0", optional=true}
|
35
35
|
pytesseract = {version="^0.3.10", optional=true}
|
@@ -248,3 +248,9 @@ lint.extend-ignore = ["F821", "F401"]
|
|
248
248
|
[tool.pytest.ini_options]
|
249
249
|
filterwarnings = ["ignore::DeprecationWarning"]
|
250
250
|
|
251
|
+
[project.scripts]
|
252
|
+
chat = "examples.basic.chat"
|
253
|
+
completion = "examples.basic.completion"
|
254
|
+
chatdoc = "examples.docqa.chat"
|
255
|
+
chatsearch = "examples.docqa.chat-search"
|
256
|
+
chatsql = "examples.data_qa.sql_chat.sql_chat"
|
File without changes
|
File without changes
|