langroid 0.31.1__py3-none-any.whl → 0.33.3__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.
Files changed (163) hide show
  1. {langroid-0.31.1.dist-info → langroid-0.33.3.dist-info}/METADATA +150 -124
  2. langroid-0.33.3.dist-info/RECORD +7 -0
  3. {langroid-0.31.1.dist-info → langroid-0.33.3.dist-info}/WHEEL +1 -1
  4. langroid-0.33.3.dist-info/entry_points.txt +4 -0
  5. pyproject.toml +317 -212
  6. langroid/__init__.py +0 -106
  7. langroid/agent/.chainlit/config.toml +0 -121
  8. langroid/agent/.chainlit/translations/bn.json +0 -231
  9. langroid/agent/.chainlit/translations/en-US.json +0 -229
  10. langroid/agent/.chainlit/translations/gu.json +0 -231
  11. langroid/agent/.chainlit/translations/he-IL.json +0 -231
  12. langroid/agent/.chainlit/translations/hi.json +0 -231
  13. langroid/agent/.chainlit/translations/kn.json +0 -231
  14. langroid/agent/.chainlit/translations/ml.json +0 -231
  15. langroid/agent/.chainlit/translations/mr.json +0 -231
  16. langroid/agent/.chainlit/translations/ta.json +0 -231
  17. langroid/agent/.chainlit/translations/te.json +0 -231
  18. langroid/agent/.chainlit/translations/zh-CN.json +0 -229
  19. langroid/agent/__init__.py +0 -41
  20. langroid/agent/base.py +0 -1981
  21. langroid/agent/batch.py +0 -398
  22. langroid/agent/callbacks/__init__.py +0 -0
  23. langroid/agent/callbacks/chainlit.py +0 -598
  24. langroid/agent/chat_agent.py +0 -1899
  25. langroid/agent/chat_document.py +0 -454
  26. langroid/agent/helpers.py +0 -0
  27. langroid/agent/junk +0 -13
  28. langroid/agent/openai_assistant.py +0 -882
  29. langroid/agent/special/__init__.py +0 -59
  30. langroid/agent/special/arangodb/__init__.py +0 -0
  31. langroid/agent/special/arangodb/arangodb_agent.py +0 -656
  32. langroid/agent/special/arangodb/system_messages.py +0 -186
  33. langroid/agent/special/arangodb/tools.py +0 -107
  34. langroid/agent/special/arangodb/utils.py +0 -36
  35. langroid/agent/special/doc_chat_agent.py +0 -1466
  36. langroid/agent/special/lance_doc_chat_agent.py +0 -262
  37. langroid/agent/special/lance_rag/__init__.py +0 -9
  38. langroid/agent/special/lance_rag/critic_agent.py +0 -198
  39. langroid/agent/special/lance_rag/lance_rag_task.py +0 -82
  40. langroid/agent/special/lance_rag/query_planner_agent.py +0 -260
  41. langroid/agent/special/lance_tools.py +0 -61
  42. langroid/agent/special/neo4j/__init__.py +0 -0
  43. langroid/agent/special/neo4j/csv_kg_chat.py +0 -174
  44. langroid/agent/special/neo4j/neo4j_chat_agent.py +0 -433
  45. langroid/agent/special/neo4j/system_messages.py +0 -120
  46. langroid/agent/special/neo4j/tools.py +0 -32
  47. langroid/agent/special/relevance_extractor_agent.py +0 -127
  48. langroid/agent/special/retriever_agent.py +0 -56
  49. langroid/agent/special/sql/__init__.py +0 -17
  50. langroid/agent/special/sql/sql_chat_agent.py +0 -654
  51. langroid/agent/special/sql/utils/__init__.py +0 -21
  52. langroid/agent/special/sql/utils/description_extractors.py +0 -190
  53. langroid/agent/special/sql/utils/populate_metadata.py +0 -85
  54. langroid/agent/special/sql/utils/system_message.py +0 -35
  55. langroid/agent/special/sql/utils/tools.py +0 -64
  56. langroid/agent/special/table_chat_agent.py +0 -263
  57. langroid/agent/structured_message.py +0 -9
  58. langroid/agent/task.py +0 -2093
  59. langroid/agent/tool_message.py +0 -393
  60. langroid/agent/tools/__init__.py +0 -38
  61. langroid/agent/tools/duckduckgo_search_tool.py +0 -50
  62. langroid/agent/tools/file_tools.py +0 -234
  63. langroid/agent/tools/google_search_tool.py +0 -39
  64. langroid/agent/tools/metaphor_search_tool.py +0 -67
  65. langroid/agent/tools/orchestration.py +0 -303
  66. langroid/agent/tools/recipient_tool.py +0 -235
  67. langroid/agent/tools/retrieval_tool.py +0 -32
  68. langroid/agent/tools/rewind_tool.py +0 -137
  69. langroid/agent/tools/segment_extract_tool.py +0 -41
  70. langroid/agent/typed_task.py +0 -19
  71. langroid/agent/xml_tool_message.py +0 -382
  72. langroid/agent_config.py +0 -0
  73. langroid/cachedb/__init__.py +0 -17
  74. langroid/cachedb/base.py +0 -58
  75. langroid/cachedb/momento_cachedb.py +0 -108
  76. langroid/cachedb/redis_cachedb.py +0 -153
  77. langroid/embedding_models/__init__.py +0 -39
  78. langroid/embedding_models/base.py +0 -74
  79. langroid/embedding_models/clustering.py +0 -189
  80. langroid/embedding_models/models.py +0 -461
  81. langroid/embedding_models/protoc/__init__.py +0 -0
  82. langroid/embedding_models/protoc/embeddings.proto +0 -19
  83. langroid/embedding_models/protoc/embeddings_pb2.py +0 -33
  84. langroid/embedding_models/protoc/embeddings_pb2.pyi +0 -50
  85. langroid/embedding_models/protoc/embeddings_pb2_grpc.py +0 -79
  86. langroid/embedding_models/remote_embeds.py +0 -153
  87. langroid/exceptions.py +0 -65
  88. langroid/experimental/team-save.py +0 -391
  89. langroid/language_models/.chainlit/config.toml +0 -121
  90. langroid/language_models/.chainlit/translations/en-US.json +0 -231
  91. langroid/language_models/__init__.py +0 -53
  92. langroid/language_models/azure_openai.py +0 -153
  93. langroid/language_models/base.py +0 -678
  94. langroid/language_models/config.py +0 -18
  95. langroid/language_models/mock_lm.py +0 -124
  96. langroid/language_models/openai_gpt.py +0 -1923
  97. langroid/language_models/prompt_formatter/__init__.py +0 -16
  98. langroid/language_models/prompt_formatter/base.py +0 -40
  99. langroid/language_models/prompt_formatter/hf_formatter.py +0 -132
  100. langroid/language_models/prompt_formatter/llama2_formatter.py +0 -75
  101. langroid/language_models/utils.py +0 -147
  102. langroid/mytypes.py +0 -84
  103. langroid/parsing/__init__.py +0 -52
  104. langroid/parsing/agent_chats.py +0 -38
  105. langroid/parsing/code-parsing.md +0 -86
  106. langroid/parsing/code_parser.py +0 -121
  107. langroid/parsing/config.py +0 -0
  108. langroid/parsing/document_parser.py +0 -718
  109. langroid/parsing/image_text.py +0 -32
  110. langroid/parsing/para_sentence_split.py +0 -62
  111. langroid/parsing/parse_json.py +0 -155
  112. langroid/parsing/parser.py +0 -313
  113. langroid/parsing/repo_loader.py +0 -790
  114. langroid/parsing/routing.py +0 -36
  115. langroid/parsing/search.py +0 -275
  116. langroid/parsing/spider.py +0 -102
  117. langroid/parsing/table_loader.py +0 -94
  118. langroid/parsing/url_loader.py +0 -111
  119. langroid/parsing/url_loader_cookies.py +0 -73
  120. langroid/parsing/urls.py +0 -273
  121. langroid/parsing/utils.py +0 -373
  122. langroid/parsing/web_search.py +0 -155
  123. langroid/prompts/__init__.py +0 -9
  124. langroid/prompts/chat-gpt4-system-prompt.md +0 -68
  125. langroid/prompts/dialog.py +0 -17
  126. langroid/prompts/prompts_config.py +0 -5
  127. langroid/prompts/templates.py +0 -141
  128. langroid/pydantic_v1/__init__.py +0 -10
  129. langroid/pydantic_v1/main.py +0 -4
  130. langroid/utils/.chainlit/config.toml +0 -121
  131. langroid/utils/.chainlit/translations/en-US.json +0 -231
  132. langroid/utils/__init__.py +0 -19
  133. langroid/utils/algorithms/__init__.py +0 -3
  134. langroid/utils/algorithms/graph.py +0 -103
  135. langroid/utils/configuration.py +0 -98
  136. langroid/utils/constants.py +0 -30
  137. langroid/utils/docker.py +0 -37
  138. langroid/utils/git_utils.py +0 -252
  139. langroid/utils/globals.py +0 -49
  140. langroid/utils/llms/__init__.py +0 -0
  141. langroid/utils/llms/strings.py +0 -8
  142. langroid/utils/logging.py +0 -135
  143. langroid/utils/object_registry.py +0 -66
  144. langroid/utils/output/__init__.py +0 -20
  145. langroid/utils/output/citations.py +0 -41
  146. langroid/utils/output/printing.py +0 -99
  147. langroid/utils/output/status.py +0 -40
  148. langroid/utils/pandas_utils.py +0 -30
  149. langroid/utils/pydantic_utils.py +0 -602
  150. langroid/utils/system.py +0 -286
  151. langroid/utils/types.py +0 -93
  152. langroid/utils/web/__init__.py +0 -0
  153. langroid/utils/web/login.py +0 -83
  154. langroid/vector_store/__init__.py +0 -50
  155. langroid/vector_store/base.py +0 -357
  156. langroid/vector_store/chromadb.py +0 -214
  157. langroid/vector_store/lancedb.py +0 -401
  158. langroid/vector_store/meilisearch.py +0 -299
  159. langroid/vector_store/momento.py +0 -278
  160. langroid/vector_store/qdrant_cloud.py +0 -6
  161. langroid/vector_store/qdrantdb.py +0 -468
  162. langroid-0.31.1.dist-info/RECORD +0 -162
  163. {langroid-0.31.1.dist-info → langroid-0.33.3.dist-info/licenses}/LICENSE +0 -0
@@ -1,115 +1,152 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: langroid
3
- Version: 0.31.1
3
+ Version: 0.33.3
4
4
  Summary: Harness LLMs with Multi-Agent Programming
5
+ Author-Email: Prasad Chalasani <pchalasani@gmail.com>
5
6
  License: MIT
6
- Author: Prasad Chalasani
7
- Author-email: pchalasani@gmail.com
8
- Requires-Python: >=3.10,<3.13
9
- Classifier: License :: OSI Approved :: MIT License
10
- Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.10
12
- Classifier: Programming Language :: Python :: 3.11
13
- Classifier: Programming Language :: Python :: 3.12
14
- Provides-Extra: all
15
- Provides-Extra: arango
16
- Provides-Extra: chainlit
17
- Provides-Extra: chromadb
18
- Provides-Extra: db
7
+ Requires-Python: <3.13,>=3.10
8
+ Requires-Dist: adb-cloud-connector<2.0.0,>=1.0.2
9
+ Requires-Dist: aiohttp<4.0.0,>=3.9.1
10
+ Requires-Dist: async-generator<2.0,>=1.10
11
+ Requires-Dist: bs4<1.0.0,>=0.0.1
12
+ Requires-Dist: cerebras-cloud-sdk<2.0.0,>=1.1.0
13
+ Requires-Dist: colorlog<7.0.0,>=6.7.0
14
+ Requires-Dist: docstring-parser<1.0,>=0.16
15
+ Requires-Dist: duckduckgo-search<7.0.0,>=6.0.0
16
+ Requires-Dist: faker<19.0.0,>=18.9.0
17
+ Requires-Dist: fakeredis<3.0.0,>=2.12.1
18
+ Requires-Dist: fire<1.0.0,>=0.5.0
19
+ Requires-Dist: gitpython<4.0.0,>=3.1.43
20
+ Requires-Dist: google-api-python-client<3.0.0,>=2.95.0
21
+ Requires-Dist: google-generativeai<1.0.0,>=0.5.2
22
+ Requires-Dist: groq<1.0.0,>=0.13.0
23
+ Requires-Dist: grpcio<2.0.0,>=1.62.1
24
+ Requires-Dist: halo<1.0.0,>=0.0.31
25
+ Requires-Dist: jinja2<4.0.0,>=3.1.2
26
+ Requires-Dist: json-repair<1.0.0,>=0.29.9
27
+ Requires-Dist: lxml<5.0.0,>=4.9.3
28
+ Requires-Dist: nest-asyncio<2.0.0,>=1.6.0
29
+ Requires-Dist: nltk<4.0.0,>=3.8.2
30
+ Requires-Dist: onnxruntime<2.0.0,>=1.16.1
31
+ Requires-Dist: openai<2.0.0,>=1.45.0
32
+ Requires-Dist: pandas<3.0.0,>=2.0.3
33
+ Requires-Dist: prettytable<4.0.0,>=3.8.0
34
+ Requires-Dist: pydantic<2.10.2,>=1
35
+ Requires-Dist: pygithub<2.0.0,>=1.58.1
36
+ Requires-Dist: pygments<3.0.0,>=2.15.1
37
+ Requires-Dist: pyparsing<4.0.0,>=3.0.9
38
+ Requires-Dist: pytest-rerunfailures<16.0,>=15.0
39
+ Requires-Dist: python-dotenv<2.0.0,>=1.0.0
40
+ Requires-Dist: python-magic<1.0.0,>=0.4.27
41
+ Requires-Dist: pyyaml<7.0.0,>=6.0.1
42
+ Requires-Dist: qdrant-client<2.0.0,>=1.8.0
43
+ Requires-Dist: rank-bm25<1.0.0,>=0.2.2
44
+ Requires-Dist: redis<6.0.0,>=5.0.1
45
+ Requires-Dist: requests<3.0.0,>=2.31.0
46
+ Requires-Dist: requests-oauthlib<2.0.0,>=1.3.1
47
+ Requires-Dist: rich<14.0.0,>=13.3.4
48
+ Requires-Dist: thefuzz<1.0.0,>=0.20.0
49
+ Requires-Dist: tiktoken<1.0.0,>=0.7.0
50
+ Requires-Dist: trafilatura<2.0.0,>=1.5.0
51
+ Requires-Dist: typer<1.0.0,>=0.9.0
52
+ Requires-Dist: wget<4.0,>=3.2
19
53
  Provides-Extra: doc-chat
20
- Provides-Extra: docx
21
- Provides-Extra: fastembed
22
- Provides-Extra: hf-embeddings
54
+ Requires-Dist: pdf2image<2.0.0,>=1.17.0; extra == "doc-chat"
55
+ Requires-Dist: pdfplumber<0.11.0,>=0.10.2; extra == "doc-chat"
56
+ Requires-Dist: pymupdf<2.0.0,>=1.23.3; extra == "doc-chat"
57
+ Requires-Dist: pypdf>=5.1.0; extra == "doc-chat"
58
+ Requires-Dist: pytesseract<0.4.0,>=0.3.10; extra == "doc-chat"
59
+ Requires-Dist: python-docx<2.0.0,>=1.1.0; extra == "doc-chat"
60
+ Requires-Dist: unstructured[docx,pdf,pptx]<0.10.18,>=0.10.16; extra == "doc-chat"
23
61
  Provides-Extra: hf-transformers
62
+ Requires-Dist: sentence-transformers<3.0.0,>=2.2.2; extra == "hf-transformers"
63
+ Requires-Dist: torch<3.0.0,>=2.0.0; extra == "hf-transformers"
64
+ Requires-Dist: transformers<5.0.0,>=4.40.1; extra == "hf-transformers"
65
+ Requires-Dist: huggingface-hub<0.22.0,>=0.21.2; extra == "hf-transformers"
66
+ Provides-Extra: vecdbs
67
+ Requires-Dist: lancedb<0.9.0,>=0.8.2; extra == "vecdbs"
68
+ Requires-Dist: tantivy<0.22.0,>=0.21.0; extra == "vecdbs"
69
+ Requires-Dist: pyarrow<16.0.0,>=15.0.0; extra == "vecdbs"
70
+ Requires-Dist: chromadb<=0.4.23,>=0.4.21; extra == "vecdbs"
71
+ Provides-Extra: db
72
+ Requires-Dist: sqlalchemy<3.0.0,>=2.0.19; extra == "db"
73
+ Requires-Dist: psycopg2<3.0.0,>=2.9.7; extra == "db"
74
+ Requires-Dist: pymysql<2.0.0,>=1.1.0; extra == "db"
75
+ Provides-Extra: all
76
+ Requires-Dist: pdf2image<2.0.0,>=1.17.0; extra == "all"
77
+ Requires-Dist: pdfplumber<0.11.0,>=0.10.2; extra == "all"
78
+ Requires-Dist: pymupdf<2.0.0,>=1.23.3; extra == "all"
79
+ Requires-Dist: pypdf>=5.1.0; extra == "all"
80
+ Requires-Dist: pytesseract<0.4.0,>=0.3.10; extra == "all"
81
+ Requires-Dist: python-docx<2.0.0,>=1.1.0; extra == "all"
82
+ Requires-Dist: unstructured[docx,pdf,pptx]<0.10.18,>=0.10.16; extra == "all"
83
+ Requires-Dist: sqlalchemy<3.0.0,>=2.0.19; extra == "all"
84
+ Requires-Dist: psycopg2<3.0.0,>=2.9.7; extra == "all"
85
+ Requires-Dist: pymysql<2.0.0,>=1.1.0; extra == "all"
86
+ Requires-Dist: sentence-transformers<3.0.0,>=2.2.2; extra == "all"
87
+ Requires-Dist: torch<3.0.0,>=2.0.0; extra == "all"
88
+ Requires-Dist: transformers<5.0.0,>=4.40.1; extra == "all"
89
+ Requires-Dist: huggingface-hub<0.22.0,>=0.21.2; extra == "all"
90
+ Requires-Dist: chromadb<=0.4.23,>=0.4.21; extra == "all"
91
+ Requires-Dist: metaphor-python<0.2.0,>=0.1.23; extra == "all"
92
+ Requires-Dist: neo4j<6.0.0,>=5.14.1; extra == "all"
93
+ Requires-Dist: python-arango<9.0.0,>=8.1.2; extra == "all"
94
+ Requires-Dist: arango-datasets<2.0.0,>=1.2.2; extra == "all"
95
+ Requires-Dist: litellm<2.0.0,>=1.30.1; extra == "all"
96
+ Requires-Dist: chainlit<2.0.0,>=1.3.2; extra == "all"
97
+ Requires-Dist: python-socketio<6.0.0,>=5.11.0; extra == "all"
98
+ Requires-Dist: fastembed<0.4.0,>=0.3.1; extra == "all"
24
99
  Provides-Extra: lancedb
25
- Provides-Extra: litellm
26
- Provides-Extra: meilisearch
27
- Provides-Extra: metaphor
28
- Provides-Extra: mkdocs
29
- Provides-Extra: momento
30
- Provides-Extra: mysql
31
- Provides-Extra: neo4j
100
+ Requires-Dist: lancedb<0.9.0,>=0.8.2; extra == "lancedb"
101
+ Requires-Dist: tantivy<0.22.0,>=0.21.0; extra == "lancedb"
102
+ Requires-Dist: pyarrow<16.0.0,>=15.0.0; extra == "lancedb"
32
103
  Provides-Extra: pdf-parsers
33
- Provides-Extra: postgres
104
+ Requires-Dist: pdfplumber<0.11.0,>=0.10.2; extra == "pdf-parsers"
105
+ Requires-Dist: pypdf>=5.1.0; extra == "pdf-parsers"
106
+ Requires-Dist: pymupdf<2.0.0,>=1.23.3; extra == "pdf-parsers"
107
+ Requires-Dist: pdf2image<2.0.0,>=1.17.0; extra == "pdf-parsers"
108
+ Requires-Dist: pytesseract<0.4.0,>=0.3.10; extra == "pdf-parsers"
109
+ Provides-Extra: docx
110
+ Requires-Dist: python-docx<2.0.0,>=1.1.0; extra == "docx"
34
111
  Provides-Extra: scrapy
35
- Provides-Extra: sql
112
+ Requires-Dist: scrapy<3.0.0,>=2.11.0; extra == "scrapy"
113
+ Provides-Extra: hf-embeddings
114
+ Requires-Dist: sentence-transformers<3.0.0,>=2.2.2; extra == "hf-embeddings"
115
+ Requires-Dist: torch<3.0.0,>=2.0.0; extra == "hf-embeddings"
36
116
  Provides-Extra: transformers
117
+ Requires-Dist: transformers<5.0.0,>=4.40.1; extra == "transformers"
118
+ Requires-Dist: huggingface-hub<0.22.0,>=0.21.2; extra == "transformers"
119
+ Requires-Dist: torch<3.0.0,>=2.0.0; extra == "transformers"
37
120
  Provides-Extra: unstructured
38
- Provides-Extra: vecdbs
39
- Requires-Dist: adb-cloud-connector (>=1.0.2,<2.0.0)
40
- Requires-Dist: aiohttp (>=3.9.1,<4.0.0)
41
- Requires-Dist: arango-datasets (>=1.2.2,<2.0.0) ; extra == "all" or extra == "arango"
42
- Requires-Dist: async-generator (>=1.10,<2.0)
43
- Requires-Dist: bs4 (>=0.0.1,<0.0.2)
44
- Requires-Dist: cerebras-cloud-sdk (>=1.1.0,<2.0.0)
45
- Requires-Dist: chainlit (>=1.3.2,<2.0.0) ; extra == "all" or extra == "chainlit"
46
- Requires-Dist: chromadb (>=0.4.21,<=0.4.23) ; extra == "vecdbs" or extra == "all" or extra == "chromadb"
47
- Requires-Dist: colorlog (>=6.7.0,<7.0.0)
48
- Requires-Dist: docstring-parser (>=0.15,<0.16)
49
- Requires-Dist: duckduckgo-search (>=6.0.0,<7.0.0)
50
- Requires-Dist: faker (>=18.9.0,<19.0.0)
51
- Requires-Dist: fakeredis (>=2.12.1,<3.0.0)
52
- Requires-Dist: fastembed (>=0.3.1,<0.4.0) ; extra == "all" or extra == "fastembed"
53
- Requires-Dist: fire (>=0.5.0,<0.6.0)
54
- Requires-Dist: gitpython (>=3.1.43,<4.0.0)
55
- Requires-Dist: google-api-python-client (>=2.95.0,<3.0.0)
56
- Requires-Dist: google-generativeai (>=0.5.2,<0.6.0)
57
- Requires-Dist: groq (>=0.13.0,<0.14.0)
58
- Requires-Dist: grpcio (>=1.62.1,<2.0.0)
59
- Requires-Dist: halo (>=0.0.31,<0.0.32)
60
- Requires-Dist: huggingface-hub (>=0.21.2,<0.22.0) ; extra == "hf-transformers" or extra == "all" or extra == "transformers"
61
- Requires-Dist: jinja2 (>=3.1.2,<4.0.0)
62
- Requires-Dist: json-repair (>=0.29.9,<0.30.0)
63
- Requires-Dist: lancedb (>=0.8.2,<0.9.0) ; extra == "vecdbs" or extra == "lancedb"
64
- Requires-Dist: litellm (>=1.30.1,<2.0.0) ; extra == "all" or extra == "litellm"
65
- Requires-Dist: lxml (>=4.9.3,<5.0.0)
66
- Requires-Dist: meilisearch-python-sdk (>=2.2.3,<3.0.0) ; extra == "meilisearch"
67
- Requires-Dist: metaphor-python (>=0.1.23,<0.2.0) ; extra == "all" or extra == "metaphor"
68
- Requires-Dist: momento (>=1.10.2,<1.21) ; extra == "momento"
69
- Requires-Dist: neo4j (>=5.14.1,<6.0.0) ; extra == "all" or extra == "neo4j"
70
- Requires-Dist: nest-asyncio (>=1.6.0,<2.0.0)
71
- Requires-Dist: nltk (>=3.8.2,<4.0.0)
72
- Requires-Dist: onnxruntime (>=1.16.1,<2.0.0)
73
- Requires-Dist: openai (>=1.45.0,<2.0.0)
74
- Requires-Dist: pandas (>=2.0.3,<3.0.0)
75
- Requires-Dist: pdf2image (>=1.17.0,<2.0.0) ; extra == "doc-chat" or extra == "all" or extra == "pdf-parsers"
76
- Requires-Dist: pdfplumber (>=0.10.2,<0.11.0) ; extra == "doc-chat" or extra == "all" or extra == "pdf-parsers"
77
- Requires-Dist: prettytable (>=3.8.0,<4.0.0)
78
- Requires-Dist: psycopg2 (>=2.9.7,<3.0.0) ; extra == "db" or extra == "all" or extra == "postgres" or extra == "sql"
79
- Requires-Dist: pyarrow (==15.0.0) ; extra == "vecdbs" or extra == "lancedb"
80
- Requires-Dist: pydantic (>=1,<2.10.2)
81
- Requires-Dist: pygithub (>=1.58.1,<2.0.0)
82
- Requires-Dist: pygments (>=2.15.1,<3.0.0)
83
- Requires-Dist: pymupdf (>=1.23.3,<2.0.0) ; extra == "doc-chat" or extra == "all" or extra == "pdf-parsers"
84
- Requires-Dist: pymysql (>=1.1.0,<2.0.0) ; extra == "db" or extra == "all" or extra == "mysql" or extra == "sql"
85
- Requires-Dist: pyparsing (>=3.0.9,<4.0.0)
86
- Requires-Dist: pypdf (>=5.1.0) ; extra == "doc-chat" or extra == "all" or extra == "pdf-parsers"
87
- Requires-Dist: pytesseract (>=0.3.10,<0.4.0) ; extra == "doc-chat" or extra == "all" or extra == "pdf-parsers"
88
- Requires-Dist: pytest-rerunfailures (>=15.0,<16.0)
89
- Requires-Dist: python-arango (>=8.1.2,<9.0.0) ; extra == "all" or extra == "arango"
90
- Requires-Dist: python-docx (>=1.1.0,<2.0.0) ; extra == "doc-chat" or extra == "all" or extra == "docx"
91
- Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
92
- Requires-Dist: python-magic (>=0.4.27,<0.5.0)
93
- Requires-Dist: python-socketio (>=5.11.0,<6.0.0) ; extra == "all" or extra == "chainlit"
94
- Requires-Dist: pyyaml (>=6.0.1,<7.0.0)
95
- Requires-Dist: qdrant-client (>=1.8.0,<2.0.0)
96
- Requires-Dist: rank-bm25 (>=0.2.2,<0.3.0)
97
- Requires-Dist: redis (>=5.0.1,<6.0.0)
98
- Requires-Dist: requests (>=2.31.0,<3.0.0)
99
- Requires-Dist: requests-oauthlib (>=1.3.1,<2.0.0)
100
- Requires-Dist: rich (>=13.3.4,<14.0.0)
101
- Requires-Dist: scrapy (>=2.11.0,<3.0.0) ; extra == "scrapy"
102
- Requires-Dist: sentence-transformers (>=2.2.2,<3.0.0) ; extra == "hf-transformers" or extra == "all" or extra == "hf-embeddings"
103
- Requires-Dist: sqlalchemy (>=2.0.19,<3.0.0) ; extra == "db" or extra == "all" or extra == "sql"
104
- Requires-Dist: tantivy (>=0.21.0,<0.22.0) ; extra == "vecdbs" or extra == "lancedb"
105
- Requires-Dist: thefuzz (>=0.20.0,<0.21.0)
106
- Requires-Dist: tiktoken (>=0.7.0,<0.8.0)
107
- Requires-Dist: torch (>=2.0.0,<3.0.0) ; extra == "hf-transformers" or extra == "all" or extra == "hf-embeddings" or extra == "transformers"
108
- Requires-Dist: trafilatura (>=1.5.0,<2.0.0)
109
- Requires-Dist: transformers (>=4.40.1,<5.0.0) ; extra == "hf-transformers" or extra == "all" or extra == "transformers"
110
- Requires-Dist: typer (>=0.9.0,<0.10.0)
111
- Requires-Dist: unstructured[docx,pdf,pptx] (>=0.10.16,<0.10.18) ; extra == "doc-chat" or extra == "all" or extra == "unstructured"
112
- Requires-Dist: wget (>=3.2,<4.0)
121
+ Requires-Dist: unstructured[docx,pdf,pptx]<0.10.18,>=0.10.16; extra == "unstructured"
122
+ Provides-Extra: postgres
123
+ Requires-Dist: psycopg2<3.0.0,>=2.9.7; extra == "postgres"
124
+ Provides-Extra: mysql
125
+ Requires-Dist: pymysql<2.0.0,>=1.1.0; extra == "mysql"
126
+ Provides-Extra: sql
127
+ Requires-Dist: sqlalchemy<3.0.0,>=2.0.19; extra == "sql"
128
+ Requires-Dist: pymysql<2.0.0,>=1.1.0; extra == "sql"
129
+ Requires-Dist: psycopg2<3.0.0,>=2.9.7; extra == "sql"
130
+ Provides-Extra: litellm
131
+ Requires-Dist: litellm<2.0.0,>=1.30.1; extra == "litellm"
132
+ Provides-Extra: neo4j
133
+ Requires-Dist: neo4j<6.0.0,>=5.14.1; extra == "neo4j"
134
+ Provides-Extra: arango
135
+ Requires-Dist: python-arango<9.0.0,>=8.1.2; extra == "arango"
136
+ Requires-Dist: arango-datasets<2.0.0,>=1.2.2; extra == "arango"
137
+ Provides-Extra: metaphor
138
+ Requires-Dist: metaphor-python<0.2.0,>=0.1.23; extra == "metaphor"
139
+ Provides-Extra: chainlit
140
+ Requires-Dist: chainlit<2.0.0,>=1.3.2; extra == "chainlit"
141
+ Requires-Dist: python-socketio<6.0.0,>=5.11.0; extra == "chainlit"
142
+ Provides-Extra: chromadb
143
+ Requires-Dist: chromadb<=0.4.23,>=0.4.21; extra == "chromadb"
144
+ Provides-Extra: meilisearch
145
+ Requires-Dist: meilisearch-python-sdk<3.0.0,>=2.2.3; extra == "meilisearch"
146
+ Provides-Extra: momento
147
+ Requires-Dist: momento<1.21.0,>=1.10.2; extra == "momento"
148
+ Provides-Extra: fastembed
149
+ Requires-Dist: fastembed<0.4.0,>=0.3.1; extra == "fastembed"
113
150
  Description-Content-Type: text/markdown
114
151
 
115
152
  <div align="center">
@@ -161,7 +198,7 @@ This Multi-Agent paradigm is inspired by the
161
198
  into simplifying the developer experience;
162
199
  it does not use `Langchain`, or any other LLM framework.
163
200
 
164
- :fire: Read the (WIP) [overview of the langroid architecture](https://langroid.github.io/langroid/blog/2024/08/15/overview-of-langroids-multi-agent-architecture-prelim/)
201
+ :fire: Read the (WIP) [overview of the langroid architecture](https://langroid.github.io/langroid/blog/2024/08/15/overview-of-langroids-multi-agent-architecture-prelim/) and a [quick tour of Langroid](https://langroid.github.io/langroid/tutorials/langroid-tour/)
165
202
 
166
203
  📢 Companies are using/adapting Langroid in **production**. Here is a quote:
167
204
 
@@ -568,7 +605,9 @@ with a postgres db, you will need to:
568
605
  - `sudo apt-get install libpq-dev` on Ubuntu,
569
606
  - `brew install postgresql` on Mac, etc.
570
607
  - Install langroid with the postgres extra, e.g. `pip install langroid[postgres]`
571
- or `poetry add langroid[postgres]` or `poetry install -E postgres`.
608
+ or `poetry add "langroid[postgres]"` or `poetry install -E postgres`,
609
+ (or the corresponding `uv` versions, e.g. `uv add "langroid[postgres]"`
610
+ or `uv pip install langroid[postgres]`).
572
611
  If this gives you an error, try `pip install psycopg2-binary` in your virtualenv.
573
612
  </details>
574
613
 
@@ -722,12 +761,16 @@ All of these can be run in a Colab notebook:
722
761
  [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/langroid/langroid/blob/main/examples/Langroid_quick_start.ipynb)
723
762
 
724
763
  <details>
725
- <summary> <b> Direct interaction with OpenAI LLM </b> </summary>
764
+ <summary> <b> Direct interaction with LLM </b> </summary>
726
765
 
727
766
  ```python
728
767
  import langroid.language_models as lm
729
768
 
730
- mdl = lm.OpenAIGPT()
769
+ mdl = lm.OpenAIGPT(
770
+ lm.OpenAIGPTConfig(
771
+ chat_model=lm.OpenAIChatModel.GPT4, # or, e.g. "ollama/qwen2.5"
772
+ ),
773
+ )
731
774
 
732
775
  messages = [
733
776
  lm.LLMMessage(content="You are a helpful assistant", role=lm.Role.SYSTEM),
@@ -737,6 +780,8 @@ messages = [
737
780
  response = mdl.chat(messages, max_tokens=200)
738
781
  print(response.message)
739
782
  ```
783
+ See the guides to use
784
+ ([local/open LLMs](https://langroid.github.io/langroid/tutorials/local-llm-setup/) or [remote/commercial LLMs](https://langroid.github.io/langroid/tutorials/non-openai-llms/)).
740
785
  </details>
741
786
 
742
787
  <details>
@@ -751,24 +796,6 @@ cfg = lm.OpenAIGPTConfig(
751
796
  mdl = lm.OpenAIGPT(cfg)
752
797
  # now interact with it as above, or create an Agent + Task as shown below.
753
798
  ```
754
-
755
- If the model is [supported by `liteLLM`](https://docs.litellm.ai/docs/providers),
756
- then no need to launch the proxy server.
757
- Just set the `chat_model` param above to `litellm/[provider]/[model]`, e.g.
758
- `litellm/anthropic/claude-instant-1` and use the config object as above.
759
- Note that to use `litellm` you need to install langroid with the `litellm` extra:
760
- `poetry install -E litellm` or `pip install langroid[litellm]`.
761
- For remote models, you will typically need to set API Keys etc as environment variables.
762
- You can set those based on the LiteLLM docs.
763
- If any required environment variables are missing, Langroid gives a helpful error
764
- message indicating which ones are needed.
765
- Note that to use `langroid` with `litellm` you need to install the `litellm`
766
- extra, i.e. either `pip install langroid[litellm]` in your virtual env,
767
- or if you are developing within the `langroid` repo,
768
- `poetry install -E litellm`.
769
- ```bash
770
- pip install langroid[litellm]
771
- ```
772
799
  </details>
773
800
 
774
801
  <details>
@@ -1082,4 +1109,3 @@ Your support will help build Langroid's momentum and community.
1082
1109
 
1083
1110
 
1084
1111
 
1085
-
@@ -0,0 +1,7 @@
1
+ langroid-0.33.3.dist-info/METADATA,sha256=im5u8GWiuSz1K2dcuKLyDSo_HtAJ7egF1daMOY5OL5A,58993
2
+ langroid-0.33.3.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
+ langroid-0.33.3.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
+ langroid-0.33.3.dist-info/licenses/LICENSE,sha256=EgVbvA6VSYgUlvC3RvPKehSg7MFaxWDsFuzLOsPPfJg,1065
5
+ langroid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ pyproject.toml,sha256=JyDYpIu-uxljbqVvk7DKNnfxHMAWfxY4ZkUDx7Wm6bw,7612
7
+ langroid-0.33.3.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.9.1
2
+ Generator: pdm-backend (2.4.3)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -0,0 +1,4 @@
1
+ [console_scripts]
2
+
3
+ [gui_scripts]
4
+