mirror of https://github.com/microsoft/autogen.git
Update all versions to 0.4.0 (#4941)
* Update all versions to 0.4.0 * update redirect * install with upgrade for agentchat
This commit is contained in:
parent
c4302eecab
commit
c2721ff65b
|
@ -17,7 +17,7 @@
|
|||
|
||||
```bash
|
||||
# Install AgentChat and OpenAI client from Extensions
|
||||
pip install "autogen-agentchat" "autogen-ext[openai]"
|
||||
pip install -U "autogen-agentchat" "autogen-ext[openai]"
|
||||
```
|
||||
|
||||
The current stable version is v0.4. If you are upgrading from AutoGen v0.2, please refer to the [Migration Guide](https://microsoft.github.io/autogen/dev/user-guide/agentchat-user-guide/migration-guide.html) for detailed instructions on how to update your code and configurations.
|
||||
|
@ -44,7 +44,7 @@ Create a group chat team with an assistant agent, a web surfer agent, and a user
|
|||
for web browsing tasks. You need to install [playwright](https://playwright.dev/python/docs/library).
|
||||
|
||||
```python
|
||||
# pip install autogen-agentchat autogen-ext[openai,web-surfer]
|
||||
# pip install -U autogen-agentchat autogen-ext[openai,web-surfer]
|
||||
# playwright install
|
||||
import asyncio
|
||||
from autogen_agentchat.agents import AssistantAgent, UserProxyAgent
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# AutoGen Python packages
|
||||
|
||||
[](https://microsoft.github.io/autogen/dev/)
|
||||
[](https://pypi.org/project/autogen-core/0.4.0.dev13/) [](https://pypi.org/project/autogen-agentchat/0.4.0.dev13/) [](https://pypi.org/project/autogen-ext/0.4.0.dev13/)
|
||||
[](https://pypi.org/project/autogen-core/) [](https://pypi.org/project/autogen-agentchat/) [](https://pypi.org/project/autogen-ext/)
|
||||
|
||||
This directory works as a single `uv` workspace containing all project packages. See [`packages`](./packages/) to discover all project packages.
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||
|
||||
[project]
|
||||
name = "autogen-agentchat"
|
||||
version = "0.4.0.dev13"
|
||||
version = "0.4.0"
|
||||
license = {file = "LICENSE-CODE"}
|
||||
description = "AutoGen agents and teams library"
|
||||
readme = "README.md"
|
||||
|
@ -15,7 +15,7 @@ classifiers = [
|
|||
"Operating System :: OS Independent",
|
||||
]
|
||||
dependencies = [
|
||||
"autogen-core==0.4.0.dev13",
|
||||
"autogen-core==0.4.0",
|
||||
"aioconsole>=0.8.1"
|
||||
]
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a target="_blank" class="reference internal"
|
||||
href="https://pypi.org/project/autogen-agentchat/0.4.0.dev13/">
|
||||
href="https://pypi.org/project/autogen-agentchat/">
|
||||
<i class="fa-brands fa-python"></i>
|
||||
PyPi
|
||||
<i class="fa-solid fa-arrow-up-right-from-square fa-2xs"></i>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a target="_blank" class="reference internal" href="https://pypi.org/project/autogen-core/0.4.0.dev13/">
|
||||
<a target="_blank" class="reference internal" href="https://pypi.org/project/autogen-core/">
|
||||
<i class="fa-brands fa-python"></i>
|
||||
PyPi
|
||||
<i class="fa-solid fa-arrow-up-right-from-square fa-2xs"></i>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a target="_blank" class="reference internal" href="https://pypi.org/project/autogen-ext/0.4.0.dev13/">
|
||||
<a target="_blank" class="reference internal" href="https://pypi.org/project/autogen-ext/">
|
||||
<i class="fa-brands fa-python"></i>
|
||||
PyPi
|
||||
<i class="fa-solid fa-arrow-up-right-from-square fa-2xs"></i>
|
||||
|
|
|
@ -105,7 +105,7 @@ Get Started
|
|||
<div class="sd-card-title sd-font-weight-bold docutils">
|
||||
|
||||
{fas}`people-group;pst-color-primary` AgentChat
|
||||
[](https://pypi.org/project/autogen-agentchat/0.4.0.dev13/)
|
||||
[](https://pypi.org/project/autogen-agentchat/)
|
||||
|
||||
</div>
|
||||
A programming framework for building conversational single and multi-agent applications.
|
||||
|
@ -136,7 +136,7 @@ Get Started
|
|||
|
||||
:::
|
||||
|
||||
:::{grid-item-card} {fas}`cube;pst-color-primary` Core [](https://pypi.org/project/autogen-core/0.4.0.dev13/)
|
||||
:::{grid-item-card} {fas}`cube;pst-color-primary` Core [](https://pypi.org/project/autogen-core/)
|
||||
:shadow: none
|
||||
:margin: 2 0 0 0
|
||||
:columns: 12 12 12 12
|
||||
|
@ -159,7 +159,7 @@ Get Started
|
|||
|
||||
:::
|
||||
|
||||
:::{grid-item-card} {fas}`puzzle-piece;pst-color-primary` Extensions [](https://pypi.org/project/autogen-ext/0.4.0.dev13/)
|
||||
:::{grid-item-card} {fas}`puzzle-piece;pst-color-primary` Extensions [](https://pypi.org/project/autogen-ext/)
|
||||
:shadow: none
|
||||
:margin: 2 0 0 0
|
||||
:columns: 12 12 12 12
|
||||
|
|
|
@ -61,7 +61,7 @@ Install the `autogen-agentchat` package using pip:
|
|||
|
||||
```bash
|
||||
|
||||
pip install "autogen-agentchat==0.4.0.dev13"
|
||||
pip install -U "autogen-agentchat"
|
||||
```
|
||||
|
||||
```{note}
|
||||
|
@ -74,7 +74,7 @@ To use the OpenAI and Azure OpenAI models, you need to install the following
|
|||
extensions:
|
||||
|
||||
```bash
|
||||
pip install "autogen-ext[openai]==0.4.0.dev13"
|
||||
pip install "autogen-ext[openai]"
|
||||
```
|
||||
|
||||
If you are using Azure OpenAI with AAD authentication, you need to install the following:
|
||||
|
|
|
@ -41,7 +41,7 @@ Be aware that agents may occasionally attempt risky actions, such as recruiting
|
|||
|
||||
Install the required packages:
|
||||
```bash
|
||||
pip install autogen-agentchat==0.4.0.dev13 autogen-ext[magentic-one,openai]==0.4.0.dev13
|
||||
pip install autogen-agentchat autogen-ext[magentic-one,openai]
|
||||
|
||||
# If using the MultimodalWebSurfer, you also need to install playwright dependencies:
|
||||
playwright install --with-deps chromium
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"pip install \"autogen-agentchat==0.4.0.dev13\" \"autogen-ext[openai,azure]==0.4.0.dev13\""
|
||||
"pip install -U \"autogen-agentchat\" \"autogen-ext[openai,azure]\""
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"pip install \"autogen-ext[openai]==0.4.0.dev13\""
|
||||
"pip install \"autogen-ext[openai]\""
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -108,7 +108,7 @@
|
|||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"pip install \"autogen-ext[openai,azure]==0.4.0.dev13\""
|
||||
"pip install \"autogen-ext[openai,azure]\""
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
"````{note}\n",
|
||||
"The distributed agent runtime requires extra dependencies, install them using:\n",
|
||||
"```bash\n",
|
||||
"pip install \"autogen-ext[grpc]==0.4.0.dev13\"\n",
|
||||
"pip install \"autogen-ext[grpc]\"\n",
|
||||
"```\n",
|
||||
"````\n",
|
||||
"\n",
|
||||
|
@ -222,4 +222,4 @@
|
|||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 2
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ Install the `autogen-core` package using pip:
|
|||
|
||||
```bash
|
||||
|
||||
pip install "autogen-core==0.4.0.dev13"
|
||||
pip install "autogen-core"
|
||||
```
|
||||
|
||||
```{note}
|
||||
|
|
|
@ -10,7 +10,7 @@ myst:
|
|||
First-part maintained extensions are available in the `autogen-ext` package.
|
||||
|
||||
```sh
|
||||
pip install "autogen-ext==0.4.0.dev13"
|
||||
pip install "autogen-ext"
|
||||
```
|
||||
|
||||
Extras:
|
||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||
|
||||
[project]
|
||||
name = "autogen-core"
|
||||
version = "0.4.0.dev13"
|
||||
version = "0.4.0"
|
||||
license = {file = "LICENSE-CODE"}
|
||||
description = "Foundational interfaces and agent runtime implementation for AutoGen"
|
||||
readme = "README.md"
|
||||
|
@ -69,7 +69,7 @@ dev = [
|
|||
"pygments",
|
||||
"sphinxext-rediraffe",
|
||||
|
||||
"autogen_ext==0.4.0.dev13",
|
||||
"autogen_ext==0.4.0",
|
||||
|
||||
# Documentation tooling
|
||||
"sphinx-autobuild",
|
||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||
|
||||
[project]
|
||||
name = "autogen-ext"
|
||||
version = "0.4.0.dev13"
|
||||
version = "0.4.0"
|
||||
license = {file = "LICENSE-CODE"}
|
||||
description = "AutoGen extensions library"
|
||||
readme = "README.md"
|
||||
|
@ -15,7 +15,7 @@ classifiers = [
|
|||
"Operating System :: OS Independent",
|
||||
]
|
||||
dependencies = [
|
||||
"autogen-core==0.4.0.dev13",
|
||||
"autogen-core==0.4.0",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
|
@ -24,23 +24,23 @@ azure = ["azure-core", "azure-identity"]
|
|||
docker = ["docker~=7.0"]
|
||||
openai = ["openai>=1.52.2", "tiktoken>=0.8.0", "aiofiles"]
|
||||
file-surfer = [
|
||||
"autogen-agentchat==0.4.0.dev13",
|
||||
"autogen-agentchat==0.4.0",
|
||||
"markitdown>=0.0.1a2",
|
||||
]
|
||||
web-surfer = [
|
||||
"autogen-agentchat==0.4.0.dev13",
|
||||
"autogen-agentchat==0.4.0",
|
||||
"playwright>=1.48.0",
|
||||
"pillow>=11.0.0",
|
||||
"markitdown>=0.0.1a2",
|
||||
]
|
||||
magentic-one = [
|
||||
"autogen-agentchat==0.4.0.dev13",
|
||||
"autogen-agentchat==0.4.0",
|
||||
"markitdown>=0.0.1a2",
|
||||
"playwright>=1.48.0",
|
||||
"pillow>=11.0.0",
|
||||
]
|
||||
video-surfer = [
|
||||
"autogen-agentchat==0.4.0.dev13",
|
||||
"autogen-agentchat==0.4.0",
|
||||
"opencv-python>=4.5",
|
||||
"ffmpeg-python",
|
||||
"openai-whisper",
|
||||
|
|
|
@ -37,7 +37,7 @@ class FileSurfer(BaseChatAgent):
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install "autogen-ext[file-surfer]==0.4.0.dev13"
|
||||
pip install "autogen-ext[file-surfer]"
|
||||
|
||||
Args:
|
||||
name (str): The agent's name
|
||||
|
|
|
@ -84,7 +84,7 @@ class OpenAIAssistantAgent(BaseChatAgent):
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install "autogen-ext[openai]==0.4.0.dev13"
|
||||
pip install "autogen-ext[openai]"
|
||||
|
||||
|
||||
This agent leverages the OpenAI Assistant API to create AI assistants with capabilities like:
|
||||
|
|
|
@ -22,7 +22,7 @@ class VideoSurfer(AssistantAgent):
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install "autogen-ext[video-surfer]==0.4.0.dev13"
|
||||
pip install "autogen-ext[video-surfer]"
|
||||
|
||||
This agent utilizes various tools to extract information from the video, such as its length, screenshots at specific timestamps, and audio transcriptions. It processes these elements to provide detailed answers to user queries.
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ class MultimodalWebSurfer(BaseChatAgent):
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install "autogen-ext[web-surfer]==0.4.0.dev13"
|
||||
pip install "autogen-ext[web-surfer]"
|
||||
|
||||
It launches a chromium browser and allows the playwright to interact with the web browser and can perform a variety of actions. The browser is launched on the first call to the agent and is reused for subsequent calls.
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ class ACADynamicSessionsCodeExecutor(CodeExecutor):
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install "autogen-ext[azure]==0.4.0.dev13"
|
||||
pip install "autogen-ext[azure]"
|
||||
|
||||
.. caution::
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ class DockerCommandLineCodeExecutor(CodeExecutor):
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install "autogen-ext[docker]==0.4.0.dev13"
|
||||
pip install "autogen-ext[docker]"
|
||||
|
||||
|
||||
The executor first saves each code block in a file in the working
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
from ._openai_client import AzureOpenAIChatCompletionClient, OpenAIChatCompletionClient, BaseOpenAIChatCompletionClient
|
||||
from ._openai_client import AzureOpenAIChatCompletionClient, BaseOpenAIChatCompletionClient, OpenAIChatCompletionClient
|
||||
from .config import (
|
||||
AzureOpenAIClientConfigurationConfigModel,
|
||||
OpenAIClientConfigurationConfigModel,
|
||||
BaseOpenAIClientConfigurationConfigModel,
|
||||
CreateArgumentsConfigModel,
|
||||
OpenAIClientConfigurationConfigModel,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
|
|
|
@ -931,7 +931,7 @@ class OpenAIChatCompletionClient(BaseOpenAIChatCompletionClient, Component[OpenA
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install "autogen-ext[openai]==0.4.0.dev13"
|
||||
pip install "autogen-ext[openai]"
|
||||
|
||||
The following code snippet shows how to use the client with an OpenAI model:
|
||||
|
||||
|
@ -1062,7 +1062,7 @@ class AzureOpenAIChatCompletionClient(
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install "autogen-ext[openai,azure]==0.4.0.dev13"
|
||||
pip install "autogen-ext[openai,azure]"
|
||||
|
||||
To use the client, you need to provide your deployment id, Azure Cognitive Services endpoint,
|
||||
api version, and model capabilities.
|
||||
|
|
|
@ -23,7 +23,7 @@ class MagenticOne(MagenticOneGroupChat):
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install "autogen-ext[magentic-one]==0.4.0.dev13"
|
||||
pip install "autogen-ext[magentic-one]"
|
||||
|
||||
|
||||
Args:
|
||||
|
|
|
@ -30,7 +30,7 @@ class PythonCodeExecutionTool(BaseTool[CodeExecutionInput, CodeExecutionResult])
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install "autogen-agentchat==0.4.0.dev13" "autogen-ext[openai]==0.4.0.dev13" "yfinance" "matplotlib"
|
||||
pip install -U "autogen-agentchat" "autogen-ext[openai]" "yfinance" "matplotlib"
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
VERSION = "0.4.0.dev41"
|
||||
VERSION = "0.4.0"
|
||||
__version__ = VERSION
|
||||
APP_NAME = "autogenstudio"
|
||||
|
|
|
@ -33,9 +33,9 @@ dependencies = [
|
|||
"alembic",
|
||||
"loguru",
|
||||
"pyyaml",
|
||||
"autogen-core==0.4.0.dev13",
|
||||
"autogen-agentchat==0.4.0.dev13",
|
||||
"autogen-ext[magentic-one]==0.4.0.dev13"
|
||||
"autogen-core==0.4.0",
|
||||
"autogen-agentchat==0.4.0",
|
||||
"autogen-ext[magentic-one]==0.4.0"
|
||||
]
|
||||
optional-dependencies = {web = ["fastapi", "uvicorn"], database = ["psycopg"]}
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
chainlit
|
||||
autogen-agentchat==0.4.0.dev13
|
||||
autogen-agentchat==0.4.0
|
||||
|
|
|
@ -9,7 +9,7 @@ An example showing human-in-the-loop which waits for human input before making t
|
|||
First, you need a shell with AutoGen core and required dependencies installed.
|
||||
|
||||
```bash
|
||||
pip install "autogen-core==0.4.0.dev13" "autogen-ext[openai,azure]==0.4.0.dev13"
|
||||
pip install "autogen-core" "autogen-ext[openai,azure]"
|
||||
```
|
||||
|
||||
### Model Configuration
|
||||
|
|
|
@ -9,7 +9,7 @@ An example with two chess player agents that executes its own tools to demonstra
|
|||
First, you need a shell with AutoGen core and required dependencies installed.
|
||||
|
||||
```bash
|
||||
pip install "autogen-core==0.4.0.dev13" "autogen-ext[openai,azure]==0.4.0.dev13" "chess"
|
||||
pip install "autogen-core" "autogen-ext[openai,azure]" "chess"
|
||||
```
|
||||
### Model Configuration
|
||||
|
||||
|
|
|
@ -347,7 +347,7 @@ wheels = [
|
|||
|
||||
[[package]]
|
||||
name = "autogen-agentchat"
|
||||
version = "0.4.0.dev13"
|
||||
version = "0.4.0"
|
||||
source = { editable = "packages/autogen-agentchat" }
|
||||
dependencies = [
|
||||
{ name = "aioconsole" },
|
||||
|
@ -362,7 +362,7 @@ requires-dist = [
|
|||
|
||||
[[package]]
|
||||
name = "autogen-core"
|
||||
version = "0.4.0.dev13"
|
||||
version = "0.4.0"
|
||||
source = { editable = "packages/autogen-core" }
|
||||
dependencies = [
|
||||
{ name = "jsonref" },
|
||||
|
@ -477,7 +477,7 @@ dev = [
|
|||
|
||||
[[package]]
|
||||
name = "autogen-ext"
|
||||
version = "0.4.0.dev13"
|
||||
version = "0.4.0"
|
||||
source = { editable = "packages/autogen-ext" }
|
||||
dependencies = [
|
||||
{ name = "autogen-core" },
|
||||
|
@ -652,7 +652,7 @@ requires-dist = [
|
|||
|
||||
[[package]]
|
||||
name = "autogenstudio"
|
||||
version = "0.4.0.dev41"
|
||||
version = "0.4.0"
|
||||
source = { editable = "packages/autogen-studio" }
|
||||
dependencies = [
|
||||
{ name = "aiofiles" },
|
||||
|
|
Loading…
Reference in New Issue