langroid 0.31.2__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.
- {langroid-0.31.2.dist-info → langroid-0.33.3.dist-info}/METADATA +150 -124
- langroid-0.33.3.dist-info/RECORD +7 -0
- {langroid-0.31.2.dist-info → langroid-0.33.3.dist-info}/WHEEL +1 -1
- langroid-0.33.3.dist-info/entry_points.txt +4 -0
- pyproject.toml +317 -212
- langroid/__init__.py +0 -106
- langroid/agent/.chainlit/config.toml +0 -121
- langroid/agent/.chainlit/translations/bn.json +0 -231
- langroid/agent/.chainlit/translations/en-US.json +0 -229
- langroid/agent/.chainlit/translations/gu.json +0 -231
- langroid/agent/.chainlit/translations/he-IL.json +0 -231
- langroid/agent/.chainlit/translations/hi.json +0 -231
- langroid/agent/.chainlit/translations/kn.json +0 -231
- langroid/agent/.chainlit/translations/ml.json +0 -231
- langroid/agent/.chainlit/translations/mr.json +0 -231
- langroid/agent/.chainlit/translations/ta.json +0 -231
- langroid/agent/.chainlit/translations/te.json +0 -231
- langroid/agent/.chainlit/translations/zh-CN.json +0 -229
- langroid/agent/__init__.py +0 -41
- langroid/agent/base.py +0 -1981
- langroid/agent/batch.py +0 -398
- langroid/agent/callbacks/__init__.py +0 -0
- langroid/agent/callbacks/chainlit.py +0 -598
- langroid/agent/chat_agent.py +0 -1899
- langroid/agent/chat_document.py +0 -454
- langroid/agent/helpers.py +0 -0
- langroid/agent/junk +0 -13
- langroid/agent/openai_assistant.py +0 -882
- langroid/agent/special/__init__.py +0 -59
- langroid/agent/special/arangodb/__init__.py +0 -0
- langroid/agent/special/arangodb/arangodb_agent.py +0 -656
- langroid/agent/special/arangodb/system_messages.py +0 -186
- langroid/agent/special/arangodb/tools.py +0 -107
- langroid/agent/special/arangodb/utils.py +0 -36
- langroid/agent/special/doc_chat_agent.py +0 -1466
- langroid/agent/special/lance_doc_chat_agent.py +0 -262
- langroid/agent/special/lance_rag/__init__.py +0 -9
- langroid/agent/special/lance_rag/critic_agent.py +0 -198
- langroid/agent/special/lance_rag/lance_rag_task.py +0 -82
- langroid/agent/special/lance_rag/query_planner_agent.py +0 -260
- langroid/agent/special/lance_tools.py +0 -61
- langroid/agent/special/neo4j/__init__.py +0 -0
- langroid/agent/special/neo4j/csv_kg_chat.py +0 -174
- langroid/agent/special/neo4j/neo4j_chat_agent.py +0 -433
- langroid/agent/special/neo4j/system_messages.py +0 -120
- langroid/agent/special/neo4j/tools.py +0 -32
- langroid/agent/special/relevance_extractor_agent.py +0 -127
- langroid/agent/special/retriever_agent.py +0 -56
- langroid/agent/special/sql/__init__.py +0 -17
- langroid/agent/special/sql/sql_chat_agent.py +0 -654
- langroid/agent/special/sql/utils/__init__.py +0 -21
- langroid/agent/special/sql/utils/description_extractors.py +0 -190
- langroid/agent/special/sql/utils/populate_metadata.py +0 -85
- langroid/agent/special/sql/utils/system_message.py +0 -35
- langroid/agent/special/sql/utils/tools.py +0 -64
- langroid/agent/special/table_chat_agent.py +0 -263
- langroid/agent/structured_message.py +0 -9
- langroid/agent/task.py +0 -2093
- langroid/agent/tool_message.py +0 -393
- langroid/agent/tools/__init__.py +0 -38
- langroid/agent/tools/duckduckgo_search_tool.py +0 -50
- langroid/agent/tools/file_tools.py +0 -234
- langroid/agent/tools/google_search_tool.py +0 -39
- langroid/agent/tools/metaphor_search_tool.py +0 -67
- langroid/agent/tools/orchestration.py +0 -303
- langroid/agent/tools/recipient_tool.py +0 -235
- langroid/agent/tools/retrieval_tool.py +0 -32
- langroid/agent/tools/rewind_tool.py +0 -137
- langroid/agent/tools/segment_extract_tool.py +0 -41
- langroid/agent/typed_task.py +0 -19
- langroid/agent/xml_tool_message.py +0 -382
- langroid/agent_config.py +0 -0
- langroid/cachedb/__init__.py +0 -17
- langroid/cachedb/base.py +0 -58
- langroid/cachedb/momento_cachedb.py +0 -108
- langroid/cachedb/redis_cachedb.py +0 -153
- langroid/embedding_models/__init__.py +0 -39
- langroid/embedding_models/base.py +0 -74
- langroid/embedding_models/clustering.py +0 -189
- langroid/embedding_models/models.py +0 -461
- langroid/embedding_models/protoc/__init__.py +0 -0
- langroid/embedding_models/protoc/embeddings.proto +0 -19
- langroid/embedding_models/protoc/embeddings_pb2.py +0 -33
- langroid/embedding_models/protoc/embeddings_pb2.pyi +0 -50
- langroid/embedding_models/protoc/embeddings_pb2_grpc.py +0 -79
- langroid/embedding_models/remote_embeds.py +0 -153
- langroid/exceptions.py +0 -65
- langroid/experimental/team-save.py +0 -391
- langroid/language_models/.chainlit/config.toml +0 -121
- langroid/language_models/.chainlit/translations/en-US.json +0 -231
- langroid/language_models/__init__.py +0 -53
- langroid/language_models/azure_openai.py +0 -153
- langroid/language_models/base.py +0 -678
- langroid/language_models/config.py +0 -18
- langroid/language_models/mock_lm.py +0 -124
- langroid/language_models/openai_gpt.py +0 -1923
- langroid/language_models/prompt_formatter/__init__.py +0 -16
- langroid/language_models/prompt_formatter/base.py +0 -40
- langroid/language_models/prompt_formatter/hf_formatter.py +0 -132
- langroid/language_models/prompt_formatter/llama2_formatter.py +0 -75
- langroid/language_models/utils.py +0 -147
- langroid/mytypes.py +0 -84
- langroid/parsing/__init__.py +0 -52
- langroid/parsing/agent_chats.py +0 -38
- langroid/parsing/code-parsing.md +0 -86
- langroid/parsing/code_parser.py +0 -121
- langroid/parsing/config.py +0 -0
- langroid/parsing/document_parser.py +0 -718
- langroid/parsing/image_text.py +0 -32
- langroid/parsing/para_sentence_split.py +0 -62
- langroid/parsing/parse_json.py +0 -155
- langroid/parsing/parser.py +0 -313
- langroid/parsing/repo_loader.py +0 -790
- langroid/parsing/routing.py +0 -36
- langroid/parsing/search.py +0 -275
- langroid/parsing/spider.py +0 -102
- langroid/parsing/table_loader.py +0 -94
- langroid/parsing/url_loader.py +0 -111
- langroid/parsing/url_loader_cookies.py +0 -73
- langroid/parsing/urls.py +0 -273
- langroid/parsing/utils.py +0 -373
- langroid/parsing/web_search.py +0 -155
- langroid/prompts/__init__.py +0 -9
- langroid/prompts/chat-gpt4-system-prompt.md +0 -68
- langroid/prompts/dialog.py +0 -17
- langroid/prompts/prompts_config.py +0 -5
- langroid/prompts/templates.py +0 -141
- langroid/pydantic_v1/__init__.py +0 -10
- langroid/pydantic_v1/main.py +0 -4
- langroid/utils/.chainlit/config.toml +0 -121
- langroid/utils/.chainlit/translations/en-US.json +0 -231
- langroid/utils/__init__.py +0 -19
- langroid/utils/algorithms/__init__.py +0 -3
- langroid/utils/algorithms/graph.py +0 -103
- langroid/utils/configuration.py +0 -98
- langroid/utils/constants.py +0 -30
- langroid/utils/docker.py +0 -37
- langroid/utils/git_utils.py +0 -252
- langroid/utils/globals.py +0 -49
- langroid/utils/llms/__init__.py +0 -0
- langroid/utils/llms/strings.py +0 -8
- langroid/utils/logging.py +0 -135
- langroid/utils/object_registry.py +0 -66
- langroid/utils/output/__init__.py +0 -20
- langroid/utils/output/citations.py +0 -41
- langroid/utils/output/printing.py +0 -99
- langroid/utils/output/status.py +0 -40
- langroid/utils/pandas_utils.py +0 -30
- langroid/utils/pydantic_utils.py +0 -602
- langroid/utils/system.py +0 -286
- langroid/utils/types.py +0 -93
- langroid/utils/web/__init__.py +0 -0
- langroid/utils/web/login.py +0 -83
- langroid/vector_store/__init__.py +0 -50
- langroid/vector_store/base.py +0 -357
- langroid/vector_store/chromadb.py +0 -214
- langroid/vector_store/lancedb.py +0 -401
- langroid/vector_store/meilisearch.py +0 -299
- langroid/vector_store/momento.py +0 -278
- langroid/vector_store/qdrant_cloud.py +0 -6
- langroid/vector_store/qdrantdb.py +0 -468
- langroid-0.31.2.dist-info/RECORD +0 -162
- {langroid-0.31.2.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.
|
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
|
-
|
7
|
-
|
8
|
-
Requires-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
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
|
-
|
21
|
-
|
22
|
-
|
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
|
-
|
26
|
-
|
27
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
39
|
-
|
40
|
-
Requires-Dist:
|
41
|
-
|
42
|
-
Requires-Dist:
|
43
|
-
|
44
|
-
Requires-Dist:
|
45
|
-
Requires-Dist:
|
46
|
-
Requires-Dist:
|
47
|
-
|
48
|
-
Requires-Dist:
|
49
|
-
|
50
|
-
Requires-Dist:
|
51
|
-
|
52
|
-
Requires-Dist:
|
53
|
-
Requires-Dist:
|
54
|
-
|
55
|
-
Requires-Dist:
|
56
|
-
|
57
|
-
Requires-Dist:
|
58
|
-
Requires-Dist:
|
59
|
-
|
60
|
-
Requires-Dist:
|
61
|
-
|
62
|
-
Requires-Dist:
|
63
|
-
|
64
|
-
Requires-Dist:
|
65
|
-
|
66
|
-
Requires-Dist:
|
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
|
[](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
|
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,,
|