ag2 0.4.1__py3-none-any.whl → 0.5.0b2__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.
Potentially problematic release.
This version of ag2 might be problematic. Click here for more details.
- {ag2-0.4.1.dist-info → ag2-0.5.0b2.dist-info}/METADATA +5 -146
- ag2-0.5.0b2.dist-info/RECORD +6 -0
- ag2-0.5.0b2.dist-info/top_level.txt +1 -0
- ag2-0.4.1.dist-info/RECORD +0 -158
- ag2-0.4.1.dist-info/top_level.txt +0 -1
- autogen/__init__.py +0 -17
- autogen/_pydantic.py +0 -116
- autogen/agentchat/__init__.py +0 -42
- autogen/agentchat/agent.py +0 -142
- autogen/agentchat/assistant_agent.py +0 -85
- autogen/agentchat/chat.py +0 -306
- autogen/agentchat/contrib/__init__.py +0 -0
- autogen/agentchat/contrib/agent_builder.py +0 -788
- autogen/agentchat/contrib/agent_eval/agent_eval.py +0 -107
- autogen/agentchat/contrib/agent_eval/criterion.py +0 -47
- autogen/agentchat/contrib/agent_eval/critic_agent.py +0 -47
- autogen/agentchat/contrib/agent_eval/quantifier_agent.py +0 -42
- autogen/agentchat/contrib/agent_eval/subcritic_agent.py +0 -48
- autogen/agentchat/contrib/agent_eval/task.py +0 -43
- autogen/agentchat/contrib/agent_optimizer.py +0 -450
- autogen/agentchat/contrib/capabilities/__init__.py +0 -0
- autogen/agentchat/contrib/capabilities/agent_capability.py +0 -21
- autogen/agentchat/contrib/capabilities/generate_images.py +0 -297
- autogen/agentchat/contrib/capabilities/teachability.py +0 -406
- autogen/agentchat/contrib/capabilities/text_compressors.py +0 -72
- autogen/agentchat/contrib/capabilities/transform_messages.py +0 -92
- autogen/agentchat/contrib/capabilities/transforms.py +0 -565
- autogen/agentchat/contrib/capabilities/transforms_util.py +0 -120
- autogen/agentchat/contrib/capabilities/vision_capability.py +0 -217
- autogen/agentchat/contrib/captainagent/tools/__init__.py +0 -0
- autogen/agentchat/contrib/captainagent/tools/data_analysis/calculate_correlation.py +0 -41
- autogen/agentchat/contrib/captainagent/tools/data_analysis/calculate_skewness_and_kurtosis.py +0 -29
- autogen/agentchat/contrib/captainagent/tools/data_analysis/detect_outlier_iqr.py +0 -29
- autogen/agentchat/contrib/captainagent/tools/data_analysis/detect_outlier_zscore.py +0 -29
- autogen/agentchat/contrib/captainagent/tools/data_analysis/explore_csv.py +0 -22
- autogen/agentchat/contrib/captainagent/tools/data_analysis/shapiro_wilk_test.py +0 -31
- autogen/agentchat/contrib/captainagent/tools/information_retrieval/arxiv_download.py +0 -26
- autogen/agentchat/contrib/captainagent/tools/information_retrieval/arxiv_search.py +0 -55
- autogen/agentchat/contrib/captainagent/tools/information_retrieval/extract_pdf_image.py +0 -54
- autogen/agentchat/contrib/captainagent/tools/information_retrieval/extract_pdf_text.py +0 -39
- autogen/agentchat/contrib/captainagent/tools/information_retrieval/get_wikipedia_text.py +0 -22
- autogen/agentchat/contrib/captainagent/tools/information_retrieval/get_youtube_caption.py +0 -35
- autogen/agentchat/contrib/captainagent/tools/information_retrieval/image_qa.py +0 -61
- autogen/agentchat/contrib/captainagent/tools/information_retrieval/optical_character_recognition.py +0 -62
- autogen/agentchat/contrib/captainagent/tools/information_retrieval/perform_web_search.py +0 -48
- autogen/agentchat/contrib/captainagent/tools/information_retrieval/scrape_wikipedia_tables.py +0 -34
- autogen/agentchat/contrib/captainagent/tools/information_retrieval/transcribe_audio_file.py +0 -22
- autogen/agentchat/contrib/captainagent/tools/information_retrieval/youtube_download.py +0 -36
- autogen/agentchat/contrib/captainagent/tools/math/calculate_circle_area_from_diameter.py +0 -22
- autogen/agentchat/contrib/captainagent/tools/math/calculate_day_of_the_week.py +0 -19
- autogen/agentchat/contrib/captainagent/tools/math/calculate_fraction_sum.py +0 -29
- autogen/agentchat/contrib/captainagent/tools/math/calculate_matrix_power.py +0 -32
- autogen/agentchat/contrib/captainagent/tools/math/calculate_reflected_point.py +0 -17
- autogen/agentchat/contrib/captainagent/tools/math/complex_numbers_product.py +0 -26
- autogen/agentchat/contrib/captainagent/tools/math/compute_currency_conversion.py +0 -24
- autogen/agentchat/contrib/captainagent/tools/math/count_distinct_permutations.py +0 -28
- autogen/agentchat/contrib/captainagent/tools/math/evaluate_expression.py +0 -29
- autogen/agentchat/contrib/captainagent/tools/math/find_continuity_point.py +0 -35
- autogen/agentchat/contrib/captainagent/tools/math/fraction_to_mixed_numbers.py +0 -40
- autogen/agentchat/contrib/captainagent/tools/math/modular_inverse_sum.py +0 -23
- autogen/agentchat/contrib/captainagent/tools/math/simplify_mixed_numbers.py +0 -37
- autogen/agentchat/contrib/captainagent/tools/math/sum_of_digit_factorials.py +0 -16
- autogen/agentchat/contrib/captainagent/tools/math/sum_of_primes_below.py +0 -16
- autogen/agentchat/contrib/captainagent/tools/requirements.txt +0 -10
- autogen/agentchat/contrib/captainagent/tools/tool_description.tsv +0 -34
- autogen/agentchat/contrib/captainagent.py +0 -490
- autogen/agentchat/contrib/gpt_assistant_agent.py +0 -545
- autogen/agentchat/contrib/graph_rag/__init__.py +0 -0
- autogen/agentchat/contrib/graph_rag/document.py +0 -30
- autogen/agentchat/contrib/graph_rag/falkor_graph_query_engine.py +0 -111
- autogen/agentchat/contrib/graph_rag/falkor_graph_rag_capability.py +0 -81
- autogen/agentchat/contrib/graph_rag/graph_query_engine.py +0 -56
- autogen/agentchat/contrib/graph_rag/graph_rag_capability.py +0 -64
- autogen/agentchat/contrib/img_utils.py +0 -390
- autogen/agentchat/contrib/llamaindex_conversable_agent.py +0 -123
- autogen/agentchat/contrib/llava_agent.py +0 -176
- autogen/agentchat/contrib/math_user_proxy_agent.py +0 -471
- autogen/agentchat/contrib/multimodal_conversable_agent.py +0 -128
- autogen/agentchat/contrib/qdrant_retrieve_user_proxy_agent.py +0 -325
- autogen/agentchat/contrib/retrieve_assistant_agent.py +0 -56
- autogen/agentchat/contrib/retrieve_user_proxy_agent.py +0 -705
- autogen/agentchat/contrib/society_of_mind_agent.py +0 -203
- autogen/agentchat/contrib/swarm_agent.py +0 -463
- autogen/agentchat/contrib/text_analyzer_agent.py +0 -76
- autogen/agentchat/contrib/tool_retriever.py +0 -120
- autogen/agentchat/contrib/vectordb/__init__.py +0 -0
- autogen/agentchat/contrib/vectordb/base.py +0 -243
- autogen/agentchat/contrib/vectordb/chromadb.py +0 -326
- autogen/agentchat/contrib/vectordb/mongodb.py +0 -559
- autogen/agentchat/contrib/vectordb/pgvectordb.py +0 -958
- autogen/agentchat/contrib/vectordb/qdrant.py +0 -334
- autogen/agentchat/contrib/vectordb/utils.py +0 -126
- autogen/agentchat/contrib/web_surfer.py +0 -305
- autogen/agentchat/conversable_agent.py +0 -2908
- autogen/agentchat/groupchat.py +0 -1668
- autogen/agentchat/user_proxy_agent.py +0 -109
- autogen/agentchat/utils.py +0 -207
- autogen/browser_utils.py +0 -291
- autogen/cache/__init__.py +0 -10
- autogen/cache/abstract_cache_base.py +0 -78
- autogen/cache/cache.py +0 -182
- autogen/cache/cache_factory.py +0 -85
- autogen/cache/cosmos_db_cache.py +0 -150
- autogen/cache/disk_cache.py +0 -109
- autogen/cache/in_memory_cache.py +0 -61
- autogen/cache/redis_cache.py +0 -128
- autogen/code_utils.py +0 -745
- autogen/coding/__init__.py +0 -22
- autogen/coding/base.py +0 -113
- autogen/coding/docker_commandline_code_executor.py +0 -262
- autogen/coding/factory.py +0 -45
- autogen/coding/func_with_reqs.py +0 -203
- autogen/coding/jupyter/__init__.py +0 -22
- autogen/coding/jupyter/base.py +0 -32
- autogen/coding/jupyter/docker_jupyter_server.py +0 -164
- autogen/coding/jupyter/embedded_ipython_code_executor.py +0 -182
- autogen/coding/jupyter/jupyter_client.py +0 -224
- autogen/coding/jupyter/jupyter_code_executor.py +0 -161
- autogen/coding/jupyter/local_jupyter_server.py +0 -168
- autogen/coding/local_commandline_code_executor.py +0 -410
- autogen/coding/markdown_code_extractor.py +0 -44
- autogen/coding/utils.py +0 -57
- autogen/exception_utils.py +0 -46
- autogen/extensions/__init__.py +0 -0
- autogen/formatting_utils.py +0 -76
- autogen/function_utils.py +0 -362
- autogen/graph_utils.py +0 -148
- autogen/io/__init__.py +0 -15
- autogen/io/base.py +0 -105
- autogen/io/console.py +0 -43
- autogen/io/websockets.py +0 -213
- autogen/logger/__init__.py +0 -11
- autogen/logger/base_logger.py +0 -140
- autogen/logger/file_logger.py +0 -287
- autogen/logger/logger_factory.py +0 -29
- autogen/logger/logger_utils.py +0 -42
- autogen/logger/sqlite_logger.py +0 -459
- autogen/math_utils.py +0 -356
- autogen/oai/__init__.py +0 -33
- autogen/oai/anthropic.py +0 -428
- autogen/oai/bedrock.py +0 -606
- autogen/oai/cerebras.py +0 -270
- autogen/oai/client.py +0 -1148
- autogen/oai/client_utils.py +0 -167
- autogen/oai/cohere.py +0 -453
- autogen/oai/completion.py +0 -1216
- autogen/oai/gemini.py +0 -469
- autogen/oai/groq.py +0 -281
- autogen/oai/mistral.py +0 -279
- autogen/oai/ollama.py +0 -582
- autogen/oai/openai_utils.py +0 -811
- autogen/oai/together.py +0 -343
- autogen/retrieve_utils.py +0 -487
- autogen/runtime_logging.py +0 -163
- autogen/token_count_utils.py +0 -259
- autogen/types.py +0 -20
- autogen/version.py +0 -7
- {ag2-0.4.1.dist-info → ag2-0.5.0b2.dist-info}/LICENSE +0 -0
- {ag2-0.4.1.dist-info → ag2-0.5.0b2.dist-info}/NOTICE.md +0 -0
- {ag2-0.4.1.dist-info → ag2-0.5.0b2.dist-info}/WHEEL +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ag2
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.5.0b2
|
|
4
|
+
Summary: Alias package for pyautogen
|
|
5
5
|
Home-page: https://github.com/ag2ai/ag2
|
|
6
6
|
Author: Chi Wang & Qingyun Wu
|
|
7
7
|
Author-email: support@ag2.ai
|
|
@@ -14,140 +14,7 @@ Requires-Python: >=3.8,<3.14
|
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
15
|
License-File: LICENSE
|
|
16
16
|
License-File: NOTICE.md
|
|
17
|
-
Requires-Dist:
|
|
18
|
-
Requires-Dist: docker
|
|
19
|
-
Requires-Dist: flaml
|
|
20
|
-
Requires-Dist: openai (>=1.3)
|
|
21
|
-
Requires-Dist: packaging
|
|
22
|
-
Requires-Dist: pydantic (!=2.6.0,<3,>=1.10)
|
|
23
|
-
Requires-Dist: python-dotenv
|
|
24
|
-
Requires-Dist: termcolor
|
|
25
|
-
Requires-Dist: tiktoken
|
|
26
|
-
Requires-Dist: numpy (<2.0.0,>=1.24.0) ; python_version < "3.13"
|
|
27
|
-
Requires-Dist: numpy (>=2.1) ; python_version >= "3.13"
|
|
28
|
-
Provides-Extra: anthropic
|
|
29
|
-
Requires-Dist: anthropic (>=0.23.1) ; extra == 'anthropic'
|
|
30
|
-
Provides-Extra: autobuild
|
|
31
|
-
Requires-Dist: chromadb ; extra == 'autobuild'
|
|
32
|
-
Requires-Dist: huggingface-hub ; extra == 'autobuild'
|
|
33
|
-
Requires-Dist: pysqlite3-binary ; extra == 'autobuild'
|
|
34
|
-
Requires-Dist: sentence-transformers ; extra == 'autobuild'
|
|
35
|
-
Provides-Extra: bedrock
|
|
36
|
-
Requires-Dist: boto3 (>=1.34.149) ; extra == 'bedrock'
|
|
37
|
-
Provides-Extra: blendsearch
|
|
38
|
-
Requires-Dist: flaml[blendsearch] ; extra == 'blendsearch'
|
|
39
|
-
Provides-Extra: captainagent
|
|
40
|
-
Requires-Dist: chromadb ; extra == 'captainagent'
|
|
41
|
-
Requires-Dist: huggingface-hub ; extra == 'captainagent'
|
|
42
|
-
Requires-Dist: pandas ; extra == 'captainagent'
|
|
43
|
-
Requires-Dist: pysqlite3-binary ; extra == 'captainagent'
|
|
44
|
-
Requires-Dist: sentence-transformers ; extra == 'captainagent'
|
|
45
|
-
Provides-Extra: cerebras
|
|
46
|
-
Requires-Dist: cerebras-cloud-sdk (>=1.0.0) ; extra == 'cerebras'
|
|
47
|
-
Provides-Extra: cohere
|
|
48
|
-
Requires-Dist: cohere (>=5.5.8) ; extra == 'cohere'
|
|
49
|
-
Provides-Extra: cosmosdb
|
|
50
|
-
Requires-Dist: azure-cosmos (>=4.2.0) ; extra == 'cosmosdb'
|
|
51
|
-
Provides-Extra: gemini
|
|
52
|
-
Requires-Dist: google-auth ; extra == 'gemini'
|
|
53
|
-
Requires-Dist: google-cloud-aiplatform ; extra == 'gemini'
|
|
54
|
-
Requires-Dist: google-generativeai (<1,>=0.5) ; extra == 'gemini'
|
|
55
|
-
Requires-Dist: pillow ; extra == 'gemini'
|
|
56
|
-
Requires-Dist: pydantic ; extra == 'gemini'
|
|
57
|
-
Provides-Extra: graph
|
|
58
|
-
Requires-Dist: matplotlib ; extra == 'graph'
|
|
59
|
-
Requires-Dist: networkx ; extra == 'graph'
|
|
60
|
-
Provides-Extra: graph_rag_falkor_db
|
|
61
|
-
Requires-Dist: graphrag-sdk (==0.3.3) ; extra == 'graph_rag_falkor_db'
|
|
62
|
-
Provides-Extra: groq
|
|
63
|
-
Requires-Dist: groq (>=0.9.0) ; extra == 'groq'
|
|
64
|
-
Provides-Extra: jupyter-executor
|
|
65
|
-
Requires-Dist: ipykernel (>=6.29.0) ; extra == 'jupyter-executor'
|
|
66
|
-
Requires-Dist: jupyter-client (>=8.6.0) ; extra == 'jupyter-executor'
|
|
67
|
-
Requires-Dist: jupyter-kernel-gateway ; extra == 'jupyter-executor'
|
|
68
|
-
Requires-Dist: requests ; extra == 'jupyter-executor'
|
|
69
|
-
Requires-Dist: websocket-client ; extra == 'jupyter-executor'
|
|
70
|
-
Provides-Extra: lmm
|
|
71
|
-
Requires-Dist: pillow ; extra == 'lmm'
|
|
72
|
-
Requires-Dist: replicate ; extra == 'lmm'
|
|
73
|
-
Provides-Extra: long-context
|
|
74
|
-
Requires-Dist: llmlingua (<0.3) ; extra == 'long-context'
|
|
75
|
-
Provides-Extra: mathchat
|
|
76
|
-
Requires-Dist: pydantic (==1.10.9) ; extra == 'mathchat'
|
|
77
|
-
Requires-Dist: sympy ; extra == 'mathchat'
|
|
78
|
-
Requires-Dist: wolframalpha ; extra == 'mathchat'
|
|
79
|
-
Provides-Extra: mistral
|
|
80
|
-
Requires-Dist: mistralai (>=1.0.1) ; extra == 'mistral'
|
|
81
|
-
Provides-Extra: ollama
|
|
82
|
-
Requires-Dist: fix-busted-json (>=0.0.18) ; extra == 'ollama'
|
|
83
|
-
Requires-Dist: ollama (>=0.3.3) ; extra == 'ollama'
|
|
84
|
-
Provides-Extra: redis
|
|
85
|
-
Requires-Dist: redis ; extra == 'redis'
|
|
86
|
-
Provides-Extra: retrievechat
|
|
87
|
-
Requires-Dist: beautifulsoup4 ; extra == 'retrievechat'
|
|
88
|
-
Requires-Dist: chromadb (==0.5.3) ; extra == 'retrievechat'
|
|
89
|
-
Requires-Dist: ipython ; extra == 'retrievechat'
|
|
90
|
-
Requires-Dist: markdownify ; extra == 'retrievechat'
|
|
91
|
-
Requires-Dist: protobuf (==4.25.3) ; extra == 'retrievechat'
|
|
92
|
-
Requires-Dist: pypdf ; extra == 'retrievechat'
|
|
93
|
-
Requires-Dist: sentence-transformers ; extra == 'retrievechat'
|
|
94
|
-
Provides-Extra: retrievechat-mongodb
|
|
95
|
-
Requires-Dist: beautifulsoup4 ; extra == 'retrievechat-mongodb'
|
|
96
|
-
Requires-Dist: chromadb (==0.5.3) ; extra == 'retrievechat-mongodb'
|
|
97
|
-
Requires-Dist: ipython ; extra == 'retrievechat-mongodb'
|
|
98
|
-
Requires-Dist: markdownify ; extra == 'retrievechat-mongodb'
|
|
99
|
-
Requires-Dist: protobuf (==4.25.3) ; extra == 'retrievechat-mongodb'
|
|
100
|
-
Requires-Dist: pymongo (>=4.0.0) ; extra == 'retrievechat-mongodb'
|
|
101
|
-
Requires-Dist: pypdf ; extra == 'retrievechat-mongodb'
|
|
102
|
-
Requires-Dist: sentence-transformers ; extra == 'retrievechat-mongodb'
|
|
103
|
-
Provides-Extra: retrievechat-pgvector
|
|
104
|
-
Requires-Dist: beautifulsoup4 ; extra == 'retrievechat-pgvector'
|
|
105
|
-
Requires-Dist: chromadb (==0.5.3) ; extra == 'retrievechat-pgvector'
|
|
106
|
-
Requires-Dist: ipython ; extra == 'retrievechat-pgvector'
|
|
107
|
-
Requires-Dist: markdownify ; extra == 'retrievechat-pgvector'
|
|
108
|
-
Requires-Dist: pgvector (>=0.2.5) ; extra == 'retrievechat-pgvector'
|
|
109
|
-
Requires-Dist: protobuf (==4.25.3) ; extra == 'retrievechat-pgvector'
|
|
110
|
-
Requires-Dist: psycopg (>=3.1.18) ; extra == 'retrievechat-pgvector'
|
|
111
|
-
Requires-Dist: pypdf ; extra == 'retrievechat-pgvector'
|
|
112
|
-
Requires-Dist: sentence-transformers ; extra == 'retrievechat-pgvector'
|
|
113
|
-
Provides-Extra: retrievechat-qdrant
|
|
114
|
-
Requires-Dist: beautifulsoup4 ; extra == 'retrievechat-qdrant'
|
|
115
|
-
Requires-Dist: chromadb (==0.5.3) ; extra == 'retrievechat-qdrant'
|
|
116
|
-
Requires-Dist: fastembed (>=0.3.1) ; extra == 'retrievechat-qdrant'
|
|
117
|
-
Requires-Dist: ipython ; extra == 'retrievechat-qdrant'
|
|
118
|
-
Requires-Dist: markdownify ; extra == 'retrievechat-qdrant'
|
|
119
|
-
Requires-Dist: protobuf (==4.25.3) ; extra == 'retrievechat-qdrant'
|
|
120
|
-
Requires-Dist: pypdf ; extra == 'retrievechat-qdrant'
|
|
121
|
-
Requires-Dist: qdrant-client ; extra == 'retrievechat-qdrant'
|
|
122
|
-
Requires-Dist: sentence-transformers ; extra == 'retrievechat-qdrant'
|
|
123
|
-
Provides-Extra: teachable
|
|
124
|
-
Requires-Dist: chromadb ; extra == 'teachable'
|
|
125
|
-
Provides-Extra: test
|
|
126
|
-
Requires-Dist: ipykernel ; extra == 'test'
|
|
127
|
-
Requires-Dist: nbconvert ; extra == 'test'
|
|
128
|
-
Requires-Dist: nbformat ; extra == 'test'
|
|
129
|
-
Requires-Dist: pandas ; extra == 'test'
|
|
130
|
-
Requires-Dist: pre-commit ; extra == 'test'
|
|
131
|
-
Requires-Dist: pytest-asyncio ; extra == 'test'
|
|
132
|
-
Requires-Dist: pytest-cov (>=5) ; extra == 'test'
|
|
133
|
-
Requires-Dist: pytest (<8,>=6.1.1) ; extra == 'test'
|
|
134
|
-
Provides-Extra: together
|
|
135
|
-
Requires-Dist: together (>=1.2) ; extra == 'together'
|
|
136
|
-
Provides-Extra: types
|
|
137
|
-
Requires-Dist: ipykernel (>=6.29.0) ; extra == 'types'
|
|
138
|
-
Requires-Dist: jupyter-client (>=8.6.0) ; extra == 'types'
|
|
139
|
-
Requires-Dist: jupyter-kernel-gateway ; extra == 'types'
|
|
140
|
-
Requires-Dist: mypy (==1.9.0) ; extra == 'types'
|
|
141
|
-
Requires-Dist: pytest (<8,>=6.1.1) ; extra == 'types'
|
|
142
|
-
Requires-Dist: requests ; extra == 'types'
|
|
143
|
-
Requires-Dist: websocket-client ; extra == 'types'
|
|
144
|
-
Provides-Extra: websockets
|
|
145
|
-
Requires-Dist: websockets (<13,>=12.0) ; extra == 'websockets'
|
|
146
|
-
Provides-Extra: websurfer
|
|
147
|
-
Requires-Dist: beautifulsoup4 ; extra == 'websurfer'
|
|
148
|
-
Requires-Dist: markdownify ; extra == 'websurfer'
|
|
149
|
-
Requires-Dist: pathvalidate ; extra == 'websurfer'
|
|
150
|
-
Requires-Dist: pdfminer.six ; extra == 'websurfer'
|
|
17
|
+
Requires-Dist: pyautogen (==0.5.0b2)
|
|
151
18
|
|
|
152
19
|
<a name="readme-top"></a>
|
|
153
20
|
|
|
@@ -176,19 +43,11 @@ Requires-Dist: pdfminer.six ; extra == 'websurfer'
|
|
|
176
43
|
> We invite collaborators from all organizations and individuals to join the development.
|
|
177
44
|
|
|
178
45
|
|
|
179
|
-
:fire: :tada: AG2 is available via `
|
|
180
|
-
|
|
181
|
-
pip install ag2
|
|
182
|
-
```
|
|
183
|
-
or
|
|
46
|
+
:fire: :tada: AG2 is available via `pyautogen` (or its alias `autogen` or `ag2`) on PyPI!
|
|
47
|
+
|
|
184
48
|
```
|
|
185
49
|
pip install pyautogen
|
|
186
50
|
```
|
|
187
|
-
or
|
|
188
|
-
```
|
|
189
|
-
pip install autogen
|
|
190
|
-
```
|
|
191
|
-
|
|
192
51
|
|
|
193
52
|
📄 **License:**
|
|
194
53
|
We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-source collaboration while providing additional protections for contributors and users alike.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
ag2-0.5.0b2.dist-info/LICENSE,sha256=GEFQVNayAR-S_rQD5l8hPdgvgyktVdy4Bx5-v90IfRI,11384
|
|
2
|
+
ag2-0.5.0b2.dist-info/METADATA,sha256=HINGJCJITXk6fDo0N6JqEEPgMe1Vt-M0LwUlszmTU8o,18733
|
|
3
|
+
ag2-0.5.0b2.dist-info/NOTICE.md,sha256=ucvou1bE6i2s40qyuU9RL0TeIVG01VhXoQ59EngtEz4,1317
|
|
4
|
+
ag2-0.5.0b2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
5
|
+
ag2-0.5.0b2.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
6
|
+
ag2-0.5.0b2.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
ag2-0.4.1.dist-info/RECORD
DELETED
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
autogen/__init__.py,sha256=eNsTdCkF0qnFdptTUXK9T7Vx7SbUVjvIt3ryRdsyCL4,491
|
|
2
|
-
autogen/_pydantic.py,sha256=HRc_pCb9puuh4uOyVzeJPNm__XSYbLQ26Gnc5xXgQU8,3409
|
|
3
|
-
autogen/browser_utils.py,sha256=DiDUvsiSkTFItU_tOqTQAbeg3E8Br9SX2cd2P-zOipM,11939
|
|
4
|
-
autogen/code_utils.py,sha256=NS2QrVxpVQo2e5QNndXy6mRmtfv_zHs4ZHl-MMib4z4,29835
|
|
5
|
-
autogen/exception_utils.py,sha256=WEdeVlc_otHXgWQZ-lqaHdezXdrl3Q4M-qfpBv4eiE0,1581
|
|
6
|
-
autogen/formatting_utils.py,sha256=lhNmim0G6Vmlrz6D-ra6u0YRt7wP98nSGubRYJ3717Q,1913
|
|
7
|
-
autogen/function_utils.py,sha256=6wTb2LxTzGveMk360JerU9l7hA497alMet8q2o9BqDo,12245
|
|
8
|
-
autogen/graph_utils.py,sha256=Bszgh51Pdpuc2o05IX6aa7uCD_p1BCqYVaipozStQlE,6416
|
|
9
|
-
autogen/math_utils.py,sha256=gXgTqhT1BssQ4EjPPd9tXlHgKuftuSu5DYW-lxgMx4s,10274
|
|
10
|
-
autogen/retrieve_utils.py,sha256=CndQ0lr7dsRGLltudqp-O_dC_4NgO6fmhzka8iXLa-g,19600
|
|
11
|
-
autogen/runtime_logging.py,sha256=iAJO_oddNfItIghNlTv060Ld0NybK52SzL7qu3n0vRw,4837
|
|
12
|
-
autogen/token_count_utils.py,sha256=XWEqxmYd5aAg-IxpCU54G1AXT75SbFNn4ZTLUXwAPYY,10306
|
|
13
|
-
autogen/types.py,sha256=zkSwYEfDePIsuk03IgutDPwb1QlFK-rAu23uYvQKrXE,601
|
|
14
|
-
autogen/version.py,sha256=M7P4XwmGG_dVWakwmieCnE9lFS3o0vUAKUO0imGjdew,248
|
|
15
|
-
autogen/agentchat/__init__.py,sha256=GhEKIablUdEaWlW8i7VpHwtzIVOl6N9sgbnAcT-X9jw,1091
|
|
16
|
-
autogen/agentchat/agent.py,sha256=r3jjZbVGkms4a8FTOXzyiQQ7PcMPVBj8zwbSJ-siwXg,4764
|
|
17
|
-
autogen/agentchat/assistant_agent.py,sha256=cEaYk15yyeRSE3LaguDThxzZFgTWiPJ1SxTvAvK6t68,5548
|
|
18
|
-
autogen/agentchat/chat.py,sha256=F7WNQc_feDg0pXwkqG0ER74jy_zRzj6NO7MVNwEQcPM,12484
|
|
19
|
-
autogen/agentchat/conversable_agent.py,sha256=T-lnzd8BVTvgujjRsUJ1N1KrLo2ojQ7HG6l-CCnEVAA,139387
|
|
20
|
-
autogen/agentchat/groupchat.py,sha256=2kzT4nf_Yexuq8YqcmJSX9TA2QoTv9yZXZ8W5Q3NpA8,83877
|
|
21
|
-
autogen/agentchat/user_proxy_agent.py,sha256=c-RG-Sb_O3p3QnePkOVepVI5olyfKOlsM9SQaEOcthw,7307
|
|
22
|
-
autogen/agentchat/utils.py,sha256=Y-FjMcwiJuO-WsgLDuXep_IU2absAMwQulCKs9QdHVc,8036
|
|
23
|
-
autogen/agentchat/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
|
-
autogen/agentchat/contrib/agent_builder.py,sha256=PA7iG3sbqV2K75_IMblK7POZ6VopWaU5DzrjF3YGYA0,32776
|
|
25
|
-
autogen/agentchat/contrib/agent_optimizer.py,sha256=dSsRIcYwZXxTWIGn_0gUl-zvDnWgOSQKyImzmkE6UPQ,22446
|
|
26
|
-
autogen/agentchat/contrib/captainagent.py,sha256=ZX9GBIfJR_CqSqbaz6fHQIAPPEnme-ilSetw-EJKaNw,25604
|
|
27
|
-
autogen/agentchat/contrib/gpt_assistant_agent.py,sha256=5aNsw8HJQKw5KumHRZekT2smnHR9e4PLRvIZzfsNPQw,25146
|
|
28
|
-
autogen/agentchat/contrib/img_utils.py,sha256=XEnLKeWOXoD1IiWf8IT1A3QiUE8ZEdZrjxUaJwR1WVY,14276
|
|
29
|
-
autogen/agentchat/contrib/llamaindex_conversable_agent.py,sha256=BSfjG4fDXjG4jpBmyAso5k1dK8JJPYWoNuL4LiYl-EM,4535
|
|
30
|
-
autogen/agentchat/contrib/llava_agent.py,sha256=pVKcwa_16Pg6lBfGJ6JXWUH-nAUtgW05q6KdhDESass,6330
|
|
31
|
-
autogen/agentchat/contrib/math_user_proxy_agent.py,sha256=Q6YI8Z3M4Ndcp8ruMtpEr16rxLi4ZnIKKnYD8ujv33I,19938
|
|
32
|
-
autogen/agentchat/contrib/multimodal_conversable_agent.py,sha256=vDYP6c3K1L6HaefG4gItGvlrbAa91KERJQTKZlMpe2c,5155
|
|
33
|
-
autogen/agentchat/contrib/qdrant_retrieve_user_proxy_agent.py,sha256=mgKHvKbx5dcTRMlE4yg6K6DMmfVWuIxncNHdf987Ct4,19406
|
|
34
|
-
autogen/agentchat/contrib/retrieve_assistant_agent.py,sha256=79igEA0r1eZYSuWKOCKkUwCV1c5yTWH295-L2-4ao4c,2424
|
|
35
|
-
autogen/agentchat/contrib/retrieve_user_proxy_agent.py,sha256=-iW9de1jGkTg-o86_vphSKkWyy5ESUhMotEzeXRolPc,37339
|
|
36
|
-
autogen/agentchat/contrib/society_of_mind_agent.py,sha256=lRF69C8ejcqPRGj5_fPtUs2NandyATw010OJB7OTdos,9087
|
|
37
|
-
autogen/agentchat/contrib/swarm_agent.py,sha256=KaAQefBivudN9mBjOsnZ44BPV7qJ0MhMO1h-l277XHQ,19332
|
|
38
|
-
autogen/agentchat/contrib/text_analyzer_agent.py,sha256=WitXX--yoGh3Xq_jC_D85Unt7UCVPdhM4MzuVJxiRSg,3563
|
|
39
|
-
autogen/agentchat/contrib/tool_retriever.py,sha256=xz7sIeblG0NFYHLQsPLUe9J3AenKVLgYfJ0o4eKLKZg,4529
|
|
40
|
-
autogen/agentchat/contrib/web_surfer.py,sha256=kAqbfuyj_lK61VUhvVUM83CYs_Hsut6eKPy388LVwL8,14563
|
|
41
|
-
autogen/agentchat/contrib/agent_eval/agent_eval.py,sha256=x_U63SjwRBXEkVky6BA1KOs7DxhY3qi0hMWc40YGdyo,4078
|
|
42
|
-
autogen/agentchat/contrib/agent_eval/criterion.py,sha256=3mt9s2C8hIjowFSq9KmcqFIYu-ZJnL-lrBFmrmSzbAI,1413
|
|
43
|
-
autogen/agentchat/contrib/agent_eval/critic_agent.py,sha256=mDK4Z65LyfxkmgmN5MS1_Jzl16v4IYnTsx69TLZdVNA,2070
|
|
44
|
-
autogen/agentchat/contrib/agent_eval/quantifier_agent.py,sha256=C7-SdCb5aAlB-MKW3ha-B8piBgTDTpTgoKm41jNUIBs,2008
|
|
45
|
-
autogen/agentchat/contrib/agent_eval/subcritic_agent.py,sha256=d-pCMeHyYYxo_9JUHAZEOdHNnTavrHKv4lREctN9gyg,2627
|
|
46
|
-
autogen/agentchat/contrib/agent_eval/task.py,sha256=cbtaJKn3mw9PjuP5hy4qSGVzKFOMM7XwDId5OtJhvSQ,1380
|
|
47
|
-
autogen/agentchat/contrib/capabilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
48
|
-
autogen/agentchat/contrib/capabilities/agent_capability.py,sha256=f6cBV4FcMvA7oZE1_o42RUUayC3KTkKOB7wW2fFEjso,771
|
|
49
|
-
autogen/agentchat/contrib/capabilities/generate_images.py,sha256=B0n9bSNovYLcSMSYwtYAwOMnx77y52jucQtGZ4RbA60,12627
|
|
50
|
-
autogen/agentchat/contrib/capabilities/teachability.py,sha256=6PUVPC-rCGH6D0r-xEzyXTAm8-OqjftvZFL8wmcpJ6U,19501
|
|
51
|
-
autogen/agentchat/contrib/capabilities/text_compressors.py,sha256=xKQwv268AVZYKK-RdZMhNyjabT-6y-lJ7a1jxepFs4Q,3080
|
|
52
|
-
autogen/agentchat/contrib/capabilities/transform_messages.py,sha256=RdzTnmlRS5aXA8dtxQky3P4rVlveU1aibeH40sXoKKQ,3708
|
|
53
|
-
autogen/agentchat/contrib/capabilities/transforms.py,sha256=4a1Gb_8ol48l-g0B7V9Mqful6A9gCizSRayhR_HudwY,25637
|
|
54
|
-
autogen/agentchat/contrib/capabilities/transforms_util.py,sha256=-OnVwZeHhmJhV-FkiOODpsAU8-gZkcJSwJMpctOyz8Y,4441
|
|
55
|
-
autogen/agentchat/contrib/capabilities/vision_capability.py,sha256=XzKKLXOffNWAowgF0f2CS050fdRvVWT0ce7F68T1q5I,10058
|
|
56
|
-
autogen/agentchat/contrib/captainagent/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
|
-
autogen/agentchat/contrib/captainagent/tools/requirements.txt,sha256=z2uZXzuO-MT_d0EPrk9G3Ct2cQeS-KTj0p7HdgqiEYg,110
|
|
58
|
-
autogen/agentchat/contrib/captainagent/tools/tool_description.tsv,sha256=FoTCONw59WUTNswa23ze6a2MOyvCuhZ8TZddPdU1ACE,3857
|
|
59
|
-
autogen/agentchat/contrib/captainagent/tools/data_analysis/calculate_correlation.py,sha256=Ps10oaxjQa2n1EOOY3ESRHaOyhoRrJAwej0PptKDeAA,1678
|
|
60
|
-
autogen/agentchat/contrib/captainagent/tools/data_analysis/calculate_skewness_and_kurtosis.py,sha256=xsrI0KNAX60EhtnTx6UBgh9tEkdkXSRoNzHUi-dCkMA,921
|
|
61
|
-
autogen/agentchat/contrib/captainagent/tools/data_analysis/detect_outlier_iqr.py,sha256=QoE5H61B1-eVCA8lf5krUUQZj4roXyZo7ub6WRXYpk4,953
|
|
62
|
-
autogen/agentchat/contrib/captainagent/tools/data_analysis/detect_outlier_zscore.py,sha256=8uFRG-9nJvhDVWNYqkZ6ULORyN_5fC9W6mhpjprh1Iw,1122
|
|
63
|
-
autogen/agentchat/contrib/captainagent/tools/data_analysis/explore_csv.py,sha256=hBxTHLLpy7DPd0j8B7TKJg2FgTGGb8v_wSQOWrZ6dug,683
|
|
64
|
-
autogen/agentchat/contrib/captainagent/tools/data_analysis/shapiro_wilk_test.py,sha256=JV9a-vko0RDFVNKG-sboAxqhJ_-qZJ6ZIZctSDT2F3o,870
|
|
65
|
-
autogen/agentchat/contrib/captainagent/tools/information_retrieval/arxiv_download.py,sha256=OnVfolA-w2iezoEXrRW4JAXRwJBS2K8NAmKcolaIHdY,919
|
|
66
|
-
autogen/agentchat/contrib/captainagent/tools/information_retrieval/arxiv_search.py,sha256=rg37hr7v9aSgROevjV7ZhLjXZwNIdtkmLjamSQhYBXE,2084
|
|
67
|
-
autogen/agentchat/contrib/captainagent/tools/information_retrieval/extract_pdf_image.py,sha256=5RNTYsWC4LIYQEeOPXUGSYrhaWP2CX27KlZYLWtz8DA,1807
|
|
68
|
-
autogen/agentchat/contrib/captainagent/tools/information_retrieval/extract_pdf_text.py,sha256=eu2Q09wVPbqVo63l00FOHmg1ieZKiEl8xJMDOarTVvI,1073
|
|
69
|
-
autogen/agentchat/contrib/captainagent/tools/information_retrieval/get_wikipedia_text.py,sha256=eFyaqfj9J21QJpWIXuzjjXJr0E226AXj92Eyrho2K7U,646
|
|
70
|
-
autogen/agentchat/contrib/captainagent/tools/information_retrieval/get_youtube_caption.py,sha256=xHm9lx3uxw7OmTez1aNcYYeb0TgqoI-qajnhG8UZvAc,1056
|
|
71
|
-
autogen/agentchat/contrib/captainagent/tools/information_retrieval/image_qa.py,sha256=taOgWiDoRJccBRZVhi1HzC6IYESrASWBXI7ba_5nYDE,2087
|
|
72
|
-
autogen/agentchat/contrib/captainagent/tools/information_retrieval/optical_character_recognition.py,sha256=Fhthva-Zaj-5yOezzDb4R--xWVBVtmrjlAoxRMuNuE4,1902
|
|
73
|
-
autogen/agentchat/contrib/captainagent/tools/information_retrieval/perform_web_search.py,sha256=bXRisc_5V0JT-u1zqkdokZP8x5J2xZBPS4wdHRFZiiA,1509
|
|
74
|
-
autogen/agentchat/contrib/captainagent/tools/information_retrieval/scrape_wikipedia_tables.py,sha256=PLhNQyw1UDuFjTb1ZiGR9HkOl_CRBPLSi9XqiDVJ4OY,1312
|
|
75
|
-
autogen/agentchat/contrib/captainagent/tools/information_retrieval/transcribe_audio_file.py,sha256=Wn4i4UEEayY7R1AmciKPzLucJ9-T4knM9XX2JC5xwV4,581
|
|
76
|
-
autogen/agentchat/contrib/captainagent/tools/information_retrieval/youtube_download.py,sha256=g-8m4HZagf2k7noReOQEnFYEEe5hIkwbXbJYRft13lU,986
|
|
77
|
-
autogen/agentchat/contrib/captainagent/tools/math/calculate_circle_area_from_diameter.py,sha256=KC6UEnlBNWG2TAQpPTjRsBnko73ABD20cMOXfBSrGnk,522
|
|
78
|
-
autogen/agentchat/contrib/captainagent/tools/math/calculate_day_of_the_week.py,sha256=lK-4X9K3-0lKHzuqE4kEhJSRPt1W4g7UFP3rwc6Qmto,769
|
|
79
|
-
autogen/agentchat/contrib/captainagent/tools/math/calculate_fraction_sum.py,sha256=HAJzDWOR6xqGiQF3-R_QHANBNPgxul00V7-nX6DvO8E,1231
|
|
80
|
-
autogen/agentchat/contrib/captainagent/tools/math/calculate_matrix_power.py,sha256=IPbostaG7GEysw0wIXwOKlSz6dbptHv_nCyKlt8C06g,912
|
|
81
|
-
autogen/agentchat/contrib/captainagent/tools/math/calculate_reflected_point.py,sha256=RKyWaKWpB9HDdyGFLc3bQ7ZBHYDq_m2Pp1B_hdcLbQY,675
|
|
82
|
-
autogen/agentchat/contrib/captainagent/tools/math/complex_numbers_product.py,sha256=hr7ziqIwavG0G9o42hloHrN65mHSO_IoVhEifOOVTH8,782
|
|
83
|
-
autogen/agentchat/contrib/captainagent/tools/math/compute_currency_conversion.py,sha256=RRgi5TU56Euve2qEARKW8nbQnkfdYWQbgVb8DH_wlJI,817
|
|
84
|
-
autogen/agentchat/contrib/captainagent/tools/math/count_distinct_permutations.py,sha256=ciWbGhTV-i6FuxUCY_a3Tzm7y06ebu04l9dDerlAzFU,839
|
|
85
|
-
autogen/agentchat/contrib/captainagent/tools/math/evaluate_expression.py,sha256=KcYwJeSrcHwdkm2i-kT80ZLiDuAjLGBJay2TK-gaHts,1017
|
|
86
|
-
autogen/agentchat/contrib/captainagent/tools/math/find_continuity_point.py,sha256=xXD5ajbjjfex8BbyEjIDogPQ07pWwnzULJRgBWlSmcc,1243
|
|
87
|
-
autogen/agentchat/contrib/captainagent/tools/math/fraction_to_mixed_numbers.py,sha256=6GxtJFK5UUv7rrZKdwEDtEgKOTqQEAX5Q9hCYIOE6Ro,1625
|
|
88
|
-
autogen/agentchat/contrib/captainagent/tools/math/modular_inverse_sum.py,sha256=16HXCctCL8_ysHxOdmHQcHrRPCBlMiMbC-IXsZtyiYc,775
|
|
89
|
-
autogen/agentchat/contrib/captainagent/tools/math/simplify_mixed_numbers.py,sha256=TsAJPagSYFjyknFXOWKpWv_1VXfG0ENEn2Tu-fPIL0g,1653
|
|
90
|
-
autogen/agentchat/contrib/captainagent/tools/math/sum_of_digit_factorials.py,sha256=rJwu4rM8SC4mkO3fVg8QkmovFW1GQt7SzZzZe-jq7w4,562
|
|
91
|
-
autogen/agentchat/contrib/captainagent/tools/math/sum_of_primes_below.py,sha256=r57WX8Y1juh3N0Bhg-i3HIrULugaKhzSX-Hx1Uj_4ZM,475
|
|
92
|
-
autogen/agentchat/contrib/graph_rag/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
93
|
-
autogen/agentchat/contrib/graph_rag/document.py,sha256=gpi1xivBSIL_8vWL6haEeNA7CyS5z0XuXQen-8dAypo,638
|
|
94
|
-
autogen/agentchat/contrib/graph_rag/falkor_graph_query_engine.py,sha256=UoZxfUF1p_6kJI5qQbBR-uQW53HqLOr6ag7xuRfqmUM,4047
|
|
95
|
-
autogen/agentchat/contrib/graph_rag/falkor_graph_rag_capability.py,sha256=Z3ar_41q0c2qli9kErGd73A-fCoA6Vv9V8dFLafJEx4,3366
|
|
96
|
-
autogen/agentchat/contrib/graph_rag/graph_query_engine.py,sha256=kCdE7p_Gkp3uAK-sOGW5FQdy32IQYRW3anNtvbAATd8,1768
|
|
97
|
-
autogen/agentchat/contrib/graph_rag/graph_rag_capability.py,sha256=E_kVBAWCll04beUReiLs2BQHk4p4ag0aIlkvi7TE8Xc,2299
|
|
98
|
-
autogen/agentchat/contrib/vectordb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
99
|
-
autogen/agentchat/contrib/vectordb/base.py,sha256=50MchILyOfBHPuBg1G1nM2vIuzKfoQKssCXKvbMKruU,9151
|
|
100
|
-
autogen/agentchat/contrib/vectordb/chromadb.py,sha256=2dFVBd_Icj_GJ4XOVC5D4LYNFXtzoDmXux-WuTW7EDw,13480
|
|
101
|
-
autogen/agentchat/contrib/vectordb/mongodb.py,sha256=iD7ayIrTZ9V3xV0nOOWpQ3U8GWDDmVMB8wW_o5CKEtY,23192
|
|
102
|
-
autogen/agentchat/contrib/vectordb/pgvectordb.py,sha256=RxTvZciJkT1oty4CFer-gVvGX0sRHp_xFgQPh0de6HM,39240
|
|
103
|
-
autogen/agentchat/contrib/vectordb/qdrant.py,sha256=SVho_uZPfPjFamz2raPudx-wFOx1wNCf90UvK_TozcI,13823
|
|
104
|
-
autogen/agentchat/contrib/vectordb/utils.py,sha256=skh86LXkbW5owCehkj887D7cIMxgT35Mk4vu75SWFIc,4435
|
|
105
|
-
autogen/cache/__init__.py,sha256=uXnBVq_fGjRt5ypTrTtUuZ1KKFKOqR2iOiT27G0Az28,336
|
|
106
|
-
autogen/cache/abstract_cache_base.py,sha256=lIx9XeFhgNGRrsC4ferOUmGxskyMBu1wC6KTvbjO9j8,2388
|
|
107
|
-
autogen/cache/cache.py,sha256=BH3892nm3DO4q0HIDLNh--zp6vfefmyOqULJZmmRq8s,6408
|
|
108
|
-
autogen/cache/cache_factory.py,sha256=xmTCC_GY2gc3MmxNzjzrH-V2vbsHYNoQwoAr6ifSQ08,3038
|
|
109
|
-
autogen/cache/cosmos_db_cache.py,sha256=9BlJc3hmyAB16leb9MAfgnpX58eOpRadlh1P4FzRdzA,5797
|
|
110
|
-
autogen/cache/disk_cache.py,sha256=fHWga6HmMBLvI9o8Et3vIgeqsEdKCNaHSXgrw0rSot8,3357
|
|
111
|
-
autogen/cache/in_memory_cache.py,sha256=CXd8TRcCh4vOTgvLqUPKnQfN8fCEQJib5aR4RxZWBu4,1849
|
|
112
|
-
autogen/cache/redis_cache.py,sha256=r6vzXbU8nZkqErcB0KiEI7v7D8icpuBq7ZM9oxnHFdA,4137
|
|
113
|
-
autogen/coding/__init__.py,sha256=bbs19EUNBaAcISEavwfJssKS-_QIfNcTWKkM9u3wSTU,791
|
|
114
|
-
autogen/coding/base.py,sha256=t33mMsnDpbb6q3JXBqtsIon-Cg7qjZWar6pEu_WjoqM,3567
|
|
115
|
-
autogen/coding/docker_commandline_code_executor.py,sha256=K_Jlq7_SsHHHndpBxRgXRql6ylxoB-i986JnDDKuOSA,9573
|
|
116
|
-
autogen/coding/factory.py,sha256=IT4DTdtRU8pRMfM5dzTAaXjdOno63w4xHrg0hD5v9ks,1868
|
|
117
|
-
autogen/coding/func_with_reqs.py,sha256=R2K5L9JuR45T3hCYxQBckvpU3okuL7D99CIEpZqRojY,6372
|
|
118
|
-
autogen/coding/local_commandline_code_executor.py,sha256=fdc-FBhZ27pKnR9vqWAIndSNvcV_LYvdJ0kTJrxnnrY,16721
|
|
119
|
-
autogen/coding/markdown_code_extractor.py,sha256=U3_40I2tjSVOtAv6XTEqgmiUnT6Ya2W4n8TZeCTxHjM,1568
|
|
120
|
-
autogen/coding/utils.py,sha256=2QuYkXedQB7u8sv9hd3W7PVZr9RXT_UmpRDxEYAUms0,2075
|
|
121
|
-
autogen/coding/jupyter/__init__.py,sha256=FfaEWT1EUW2l44rjmDDQmj60W76H-jIHmVSP1ZdouFc,795
|
|
122
|
-
autogen/coding/jupyter/base.py,sha256=X4znVYHNqIngIcE5zjdj95Ev2F6mzjuh1prfkUcLcrQ,988
|
|
123
|
-
autogen/coding/jupyter/docker_jupyter_server.py,sha256=RfO2k6A75pPXLywZUGMg88pur7w8Di2Z9U7L936enEU,5668
|
|
124
|
-
autogen/coding/jupyter/embedded_ipython_code_executor.py,sha256=IeSEneQB3ohTCqg9ArswEl5Mi0uA-TU8bJvMuXFKbmU,8061
|
|
125
|
-
autogen/coding/jupyter/jupyter_client.py,sha256=DuIozfloQJniSm44em6CXHoDcvuKkN2j9I3ZnP-_18o,8269
|
|
126
|
-
autogen/coding/jupyter/jupyter_code_executor.py,sha256=hssTdUKsHo8a0jQBg3jMAp3HvEhEweQpLUCCGLiEPdk,6349
|
|
127
|
-
autogen/coding/jupyter/local_jupyter_server.py,sha256=MN6jRVR_TAK_i2GbgoNQiXvSfYuevgS_7VwawntN7cA,6377
|
|
128
|
-
autogen/extensions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
129
|
-
autogen/io/__init__.py,sha256=LARrer2Vn88okcf-EBq5zn6vAHt9yAs2rh3cl1_HdMM,561
|
|
130
|
-
autogen/io/base.py,sha256=xIK9vTat6HHcwMndGNFcY17B3y62C8bRTk3tezf7A_w,3425
|
|
131
|
-
autogen/io/console.py,sha256=lYzBsy7VWTsTP0Evxsd6tarVYR1v8btjItoCRxe3vg4,1407
|
|
132
|
-
autogen/io/websockets.py,sha256=qK2DLDTx5rGtuhsRPpV-xleuLCBy4Oorpc5WggKHcf4,7264
|
|
133
|
-
autogen/logger/__init__.py,sha256=1aNIdfAhzJjf8qJSqsgCCEbZcBGIcJdiXbS1G6iMns8,403
|
|
134
|
-
autogen/logger/base_logger.py,sha256=boarsJGfgD_vZYqDROsHyauouQaLdeQkP9xMfJEMWWo,5159
|
|
135
|
-
autogen/logger/file_logger.py,sha256=faApnlfmJ42x0JD5JDmOsBpNxMqwZY9HMJh6LGXMKYg,10402
|
|
136
|
-
autogen/logger/logger_factory.py,sha256=RNr12g2pPTeBEJzeYrbp3KWeJxpZnEGvlufYiFeyq8A,941
|
|
137
|
-
autogen/logger/logger_utils.py,sha256=-P3_YWBEFsTF8MgQ9oc5AqLb6fSdjDJZ8FOg5hs8oMM,1436
|
|
138
|
-
autogen/logger/sqlite_logger.py,sha256=vkZtYLWKKGDHh0GCTbp_4PWBl9-yjhzii1cnQ7-lQkQ,16430
|
|
139
|
-
autogen/oai/__init__.py,sha256=6HF5dNTEgwi-rM-A273XtVBSyvkIsKtNpccsoNXWdqY,911
|
|
140
|
-
autogen/oai/anthropic.py,sha256=ibeH8-NLfeNDKpGdjJbh9dPoUWJGzBszguKaWzJJLzs,17249
|
|
141
|
-
autogen/oai/bedrock.py,sha256=RHKqOi4bCMLor1r8CAMC4o4NTBtfVRc3muiN-_bZlJg,23787
|
|
142
|
-
autogen/oai/cerebras.py,sha256=vxvlIJGek_IJsS7tKQkq1se__xLg-Mzjc4xEW06lhTQ,10894
|
|
143
|
-
autogen/oai/client.py,sha256=HR8ATrTlNoSM8fr0fH9cmKR-lxr3Rd62kBI0aj-eoNg,52615
|
|
144
|
-
autogen/oai/client_utils.py,sha256=W9RD6V3XPpelDqPwjG412go4qXfYWDPmKur68s-Siu0,7282
|
|
145
|
-
autogen/oai/cohere.py,sha256=giMIRomeAEd3y0QsulmWYYLXXCfsqY0ojKG4UzwQ2SI,18513
|
|
146
|
-
autogen/oai/completion.py,sha256=dT2LEjmRUMXx0UR7OKs6zYQH-cDtW5m0vWvwXXOjmvk,53652
|
|
147
|
-
autogen/oai/gemini.py,sha256=YNrwGKwPVglfUhx2XPph9AbPN0b5IbPMaT0njWPEXjI,20595
|
|
148
|
-
autogen/oai/groq.py,sha256=gpLe1UJZMtkJAks2mj40aksvMcQ0oBjgOxRuTVupG7s,11164
|
|
149
|
-
autogen/oai/mistral.py,sha256=1xybwfihh6n2HyLlCNNebT01SYVIwNj9ClIms92ySak,11414
|
|
150
|
-
autogen/oai/ollama.py,sha256=EesTalPdgvNIhXbeGkTkk9i_zqhuKrSNZjzfg__F3JI,25608
|
|
151
|
-
autogen/oai/openai_utils.py,sha256=pLNthT0PYTY8Nxvh5-zm1YE7a-9YOHWq9oam0NwwgIM,35203
|
|
152
|
-
autogen/oai/together.py,sha256=AfEx2Dt4limeVvnCibtwvs9OuJkS1wcYFdA-P-gDzRw,13411
|
|
153
|
-
ag2-0.4.1.dist-info/LICENSE,sha256=GEFQVNayAR-S_rQD5l8hPdgvgyktVdy4Bx5-v90IfRI,11384
|
|
154
|
-
ag2-0.4.1.dist-info/METADATA,sha256=ZU_ef6Ez-fNhWQXZ6o0QjJdOrsbYPVpTd374wlXf_eE,25246
|
|
155
|
-
ag2-0.4.1.dist-info/NOTICE.md,sha256=ucvou1bE6i2s40qyuU9RL0TeIVG01VhXoQ59EngtEz4,1317
|
|
156
|
-
ag2-0.4.1.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
157
|
-
ag2-0.4.1.dist-info/top_level.txt,sha256=qRZ2MW8yuy0LtOLpeZndl4H1buusjxhwD6c9AXbVqKQ,8
|
|
158
|
-
ag2-0.4.1.dist-info/RECORD,,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
autogen
|
autogen/__init__.py
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
|
|
2
|
-
#
|
|
3
|
-
# SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
#
|
|
5
|
-
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
|
|
6
|
-
# SPDX-License-Identifier: MIT
|
|
7
|
-
import logging
|
|
8
|
-
|
|
9
|
-
from .agentchat import *
|
|
10
|
-
from .code_utils import DEFAULT_MODEL, FAST_MODEL
|
|
11
|
-
from .exception_utils import *
|
|
12
|
-
from .oai import *
|
|
13
|
-
from .version import __version__
|
|
14
|
-
|
|
15
|
-
# Set the root logger.
|
|
16
|
-
logger = logging.getLogger(__name__)
|
|
17
|
-
logger.setLevel(logging.INFO)
|
autogen/_pydantic.py
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
|
|
2
|
-
#
|
|
3
|
-
# SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
#
|
|
5
|
-
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
|
|
6
|
-
# SPDX-License-Identifier: MIT
|
|
7
|
-
from typing import Any, Dict, Optional, Tuple, Type, Union, get_args
|
|
8
|
-
|
|
9
|
-
from pydantic import BaseModel
|
|
10
|
-
from pydantic.version import VERSION as PYDANTIC_VERSION
|
|
11
|
-
from typing_extensions import get_origin
|
|
12
|
-
|
|
13
|
-
__all__ = ("JsonSchemaValue", "model_dump", "model_dump_json", "type2schema", "evaluate_forwardref")
|
|
14
|
-
|
|
15
|
-
PYDANTIC_V1 = PYDANTIC_VERSION.startswith("1.")
|
|
16
|
-
|
|
17
|
-
if not PYDANTIC_V1:
|
|
18
|
-
from pydantic import TypeAdapter
|
|
19
|
-
from pydantic._internal._typing_extra import eval_type_lenient as evaluate_forwardref
|
|
20
|
-
from pydantic.json_schema import JsonSchemaValue
|
|
21
|
-
|
|
22
|
-
def type2schema(t: Any) -> JsonSchemaValue:
|
|
23
|
-
"""Convert a type to a JSON schema
|
|
24
|
-
|
|
25
|
-
Args:
|
|
26
|
-
t (Type): The type to convert
|
|
27
|
-
|
|
28
|
-
Returns:
|
|
29
|
-
JsonSchemaValue: The JSON schema
|
|
30
|
-
"""
|
|
31
|
-
return TypeAdapter(t).json_schema()
|
|
32
|
-
|
|
33
|
-
def model_dump(model: BaseModel) -> Dict[str, Any]:
|
|
34
|
-
"""Convert a pydantic model to a dict
|
|
35
|
-
|
|
36
|
-
Args:
|
|
37
|
-
model (BaseModel): The model to convert
|
|
38
|
-
|
|
39
|
-
Returns:
|
|
40
|
-
Dict[str, Any]: The dict representation of the model
|
|
41
|
-
|
|
42
|
-
"""
|
|
43
|
-
return model.model_dump()
|
|
44
|
-
|
|
45
|
-
def model_dump_json(model: BaseModel) -> str:
|
|
46
|
-
"""Convert a pydantic model to a JSON string
|
|
47
|
-
|
|
48
|
-
Args:
|
|
49
|
-
model (BaseModel): The model to convert
|
|
50
|
-
|
|
51
|
-
Returns:
|
|
52
|
-
str: The JSON string representation of the model
|
|
53
|
-
"""
|
|
54
|
-
return model.model_dump_json()
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
# Remove this once we drop support for pydantic 1.x
|
|
58
|
-
else: # pragma: no cover
|
|
59
|
-
from pydantic import schema_of
|
|
60
|
-
from pydantic.typing import evaluate_forwardref as evaluate_forwardref # type: ignore[no-redef]
|
|
61
|
-
|
|
62
|
-
JsonSchemaValue = Dict[str, Any] # type: ignore[misc]
|
|
63
|
-
|
|
64
|
-
def type2schema(t: Any) -> JsonSchemaValue:
|
|
65
|
-
"""Convert a type to a JSON schema
|
|
66
|
-
|
|
67
|
-
Args:
|
|
68
|
-
t (Type): The type to convert
|
|
69
|
-
|
|
70
|
-
Returns:
|
|
71
|
-
JsonSchemaValue: The JSON schema
|
|
72
|
-
"""
|
|
73
|
-
|
|
74
|
-
if t is None:
|
|
75
|
-
return {"type": "null"}
|
|
76
|
-
elif get_origin(t) is Union:
|
|
77
|
-
return {"anyOf": [type2schema(tt) for tt in get_args(t)]}
|
|
78
|
-
elif get_origin(t) in [Tuple, tuple]:
|
|
79
|
-
prefixItems = [type2schema(tt) for tt in get_args(t)]
|
|
80
|
-
return {
|
|
81
|
-
"maxItems": len(prefixItems),
|
|
82
|
-
"minItems": len(prefixItems),
|
|
83
|
-
"prefixItems": prefixItems,
|
|
84
|
-
"type": "array",
|
|
85
|
-
}
|
|
86
|
-
else:
|
|
87
|
-
d = schema_of(t)
|
|
88
|
-
if "title" in d:
|
|
89
|
-
d.pop("title")
|
|
90
|
-
if "description" in d:
|
|
91
|
-
d.pop("description")
|
|
92
|
-
|
|
93
|
-
return d
|
|
94
|
-
|
|
95
|
-
def model_dump(model: BaseModel) -> Dict[str, Any]:
|
|
96
|
-
"""Convert a pydantic model to a dict
|
|
97
|
-
|
|
98
|
-
Args:
|
|
99
|
-
model (BaseModel): The model to convert
|
|
100
|
-
|
|
101
|
-
Returns:
|
|
102
|
-
Dict[str, Any]: The dict representation of the model
|
|
103
|
-
|
|
104
|
-
"""
|
|
105
|
-
return model.dict()
|
|
106
|
-
|
|
107
|
-
def model_dump_json(model: BaseModel) -> str:
|
|
108
|
-
"""Convert a pydantic model to a JSON string
|
|
109
|
-
|
|
110
|
-
Args:
|
|
111
|
-
model (BaseModel): The model to convert
|
|
112
|
-
|
|
113
|
-
Returns:
|
|
114
|
-
str: The JSON string representation of the model
|
|
115
|
-
"""
|
|
116
|
-
return model.json()
|
autogen/agentchat/__init__.py
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
|
|
2
|
-
#
|
|
3
|
-
# SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
#
|
|
5
|
-
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
|
|
6
|
-
# SPDX-License-Identifier: MIT
|
|
7
|
-
from .agent import Agent
|
|
8
|
-
from .assistant_agent import AssistantAgent
|
|
9
|
-
from .chat import ChatResult, initiate_chats
|
|
10
|
-
|
|
11
|
-
# Imported last to avoid circular imports
|
|
12
|
-
from .contrib.swarm_agent import (
|
|
13
|
-
AFTER_WORK,
|
|
14
|
-
ON_CONDITION,
|
|
15
|
-
AfterWorkOption,
|
|
16
|
-
SwarmAgent,
|
|
17
|
-
SwarmResult,
|
|
18
|
-
initiate_swarm_chat,
|
|
19
|
-
)
|
|
20
|
-
from .conversable_agent import ConversableAgent, register_function
|
|
21
|
-
from .groupchat import GroupChat, GroupChatManager
|
|
22
|
-
from .user_proxy_agent import UserProxyAgent
|
|
23
|
-
from .utils import gather_usage_summary
|
|
24
|
-
|
|
25
|
-
__all__ = [
|
|
26
|
-
"Agent",
|
|
27
|
-
"ConversableAgent",
|
|
28
|
-
"AssistantAgent",
|
|
29
|
-
"UserProxyAgent",
|
|
30
|
-
"GroupChat",
|
|
31
|
-
"GroupChatManager",
|
|
32
|
-
"register_function",
|
|
33
|
-
"initiate_chats",
|
|
34
|
-
"gather_usage_summary",
|
|
35
|
-
"ChatResult",
|
|
36
|
-
"initiate_swarm_chat",
|
|
37
|
-
"SwarmAgent",
|
|
38
|
-
"SwarmResult",
|
|
39
|
-
"ON_CONDITION",
|
|
40
|
-
"AFTER_WORK",
|
|
41
|
-
"AfterWorkOption",
|
|
42
|
-
]
|