A programming framework for agentic AI
docs: Clarify missing dependencies in documentation (fix #6076) (#6406)
Mars Wang998840f7e0c9
diff --git a/python/samples/agentchat_chainlit/model_config.yaml b/python/samples/agentchat_chainlit/model_config.yamlindex 04caf2b48..a98e2d2b1 100644--- a/python/samples/agentchat_chainlit/model_config.yaml+++ b/python/samples/agentchat_chainlit/model_config.yaml@@ -2,3 +2,4 @@provider: autogen_ext.models.openai.OpenAIChatCompletionClientconfig:model: gpt-4o+ api_key: REPLACE_WITH_YOUR_API_KEYdiff --git a/python/samples/agentchat_chess_game/README.md b/python/samples/agentchat_chess_game/README.mdindex 97196b5a8..769e54837 100644--- a/python/samples/agentchat_chess_game/README.md+++ b/python/samples/agentchat_chess_game/README.md@@ -18,6 +18,12 @@ pip install "autogen-ext[openai]"# pip install "autogen-ext[openai,azure]" for Azure OpenAI models```+To run this sample, you will need to install the following packages:++```shell+pip install -U autogen-agentchat pyyaml+```+Create a new file named `model_config.yaml` in the the same directory as the scriptto configure the model you want to use.diff --git a/python/samples/agentchat_fastapi/README.md b/python/samples/agentchat_fastapi/README.mdindex b7ba4012e..bbbea2716 100644--- a/python/samples/agentchat_fastapi/README.md+++ b/python/samples/agentchat_fastapi/README.md@@ -17,7 +17,7 @@ You will be using the following features of AgentChat:Install the required packages with OpenAI support:```bash-pip install -U "autogen-ext[openai]" "fastapi" "uvicorn" "PyYAML"+pip install -U "autogen-agentchat" "autogen-ext[openai]" "fastapi" "uvicorn[standard]" "PyYAML"```To use models other than OpenAI, see the [Models](https://microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/tutorial/models.html) documentation.diff --git a/python/samples/agentchat_graphrag/requirements.txt b/python/samples/agentchat_graphrag/requirements.txtindex 9322e4d25..b8549693f 100644--- a/python/samples/agentchat_graphrag/requirements.txt+++ b/python/samples/agentchat_graphrag/requirements.txt@@ -1,2 +1,3 @@-autogen-agentchat>=0.4.0,<0.5-autogen-ext[graphrag,openai,azure]>=0.4.0,<0.5\ No newline at end of file+autogen-agentchat+autogen-ext+pyyaml\ No newline at end of filediff --git a/python/samples/core_async_human_in_the_loop/README.md b/python/samples/core_async_human_in_the_loop/README.mdindex f97942a74..4eb971b9d 100644--- a/python/samples/core_async_human_in_the_loop/README.md+++ b/python/samples/core_async_human_in_the_loop/README.md@@ -7,7 +7,7 @@ An example showing human-in-the-loop which waits for human input before making tFirst, you need a shell with AutoGen core and required dependencies installed.```bash-pip install "autogen-ext[openai,azure]"+pip install "autogen-ext[openai,azure]" "pyyaml"```## Model Configurationdiff --git a/python/samples/core_chess_game/README.md b/python/samples/core_chess_game/README.mdindex 487c205a4..faeac476c 100644--- a/python/samples/core_chess_game/README.md+++ b/python/samples/core_chess_game/README.md@@ -7,7 +7,7 @@ An example with two chess player agents that executes its own tools to demonstraFirst, you need a shell with AutoGen core and required dependencies installed.```bash-pip install "autogen-ext[openai,azure]" "chess"+pip install "autogen-ext[openai,azure]" "chess" "pyyaml"```## Model Configurationdiff --git a/python/samples/core_distributed-group-chat/README.md b/python/samples/core_distributed-group-chat/README.mdindex a5f52a64d..60ab22edf 100644--- a/python/samples/core_distributed-group-chat/README.md+++ b/python/samples/core_distributed-group-chat/README.md@@ -10,7 +10,7 @@ This example runs a gRPC server using [GrpcWorkerAgentRuntimeHost](../../src/aut2. Install dependencies.```bash-pip install "autogen-ext[openai,azure,chainlit,rich,pyyaml]"+pip install "autogen-ext[openai,azure,chainlit,rich]" "pyyaml"```### General Configuration