Skip to content

Commit

Permalink
Merge pull request microsoft#34 from autogen-ai/move
Browse files Browse the repository at this point in the history
moved the package in notebooks from pyautogen to autogen
  • Loading branch information
Hk669 authored Sep 6, 2024
2 parents c1ee997 + 066997d commit f10e5cf
Show file tree
Hide file tree
Showing 32 changed files with 55 additions and 55 deletions.
4 changes: 2 additions & 2 deletions notebook/JSON_mode_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"JSON mode is a feature of OpenAI API, however strong models (such as Claude 3 Opus), can generate appropriate json as well.\n",
"AutoGen requires `Python>=3.8`. To run this notebook example, please install:\n",
"```bash\n",
"pip install pyautogen\n",
"pip install autogen\n",
"```"
]
},
Expand All @@ -40,7 +40,7 @@
"outputs": [],
"source": [
"%%capture --no-stderr\n",
"# %pip install \"pyautogen>=0.2.3\"\n",
"# %pip install \"autogen>=0.3.0\"\n",
"\n",
"# In Your OAI_CONFIG_LIST file, you must have two configs,\n",
"# one with: \"response_format\": { \"type\": \"text\" }\n",
Expand Down
2 changes: 1 addition & 1 deletion notebook/agentchat_RetrieveChat.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"Some extra dependencies are needed for this notebook, which can be installed via pip:\n",
"\n",
"```bash\n",
"pip install pyautogen[retrievechat] flaml[automl]\n",
"pip install autogen[retrievechat] flaml[automl]\n",
"```\n",
"\n",
"For more information, please refer to the [installation guide](/docs/installation/).\n",
Expand Down
2 changes: 1 addition & 1 deletion notebook/agentchat_RetrieveChat_mongodb.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"Some extra dependencies are needed for this notebook, which can be installed via pip:\n",
"\n",
"```bash\n",
"pip install pyautogen[retrievechat-mongodb] flaml[automl]\n",
"pip install autogen[retrievechat-mongodb] flaml[automl]\n",
"```\n",
"\n",
"For more information, please refer to the [installation guide](/docs/installation/).\n",
Expand Down
2 changes: 1 addition & 1 deletion notebook/agentchat_RetrieveChat_pgvector.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"Some extra dependencies are needed for this notebook, which can be installed via pip:\n",
"\n",
"```bash\n",
"pip install pyautogen[retrievechat-pgvector] flaml[automl]\n",
"pip install autogen[retrievechat-pgvector] flaml[automl]\n",
"```\n",
"\n",
"For more information, please refer to the [installation guide](/docs/installation/).\n",
Expand Down
4 changes: 2 additions & 2 deletions notebook/agentchat_RetrieveChat_qdrant.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"Some extra dependencies are needed for this notebook, which can be installed via pip:\n",
"\n",
"```bash\n",
"pip install \"pyautogen[retrievechat-qdrant]\" \"flaml[automl]\"\n",
"pip install \"autogen[retrievechat-qdrant]\" \"flaml[automl]\"\n",
"```\n",
"\n",
"For more information, please refer to the [installation guide](/docs/installation/).\n",
Expand All @@ -43,7 +43,7 @@
}
],
"source": [
"%pip install \"pyautogen[retrievechat-qdrant]\" \"flaml[automl]\" -q"
"%pip install \"autogen[retrievechat-qdrant]\" \"flaml[automl]\" -q"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebook/agentchat_lmm_llava.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"source": [
"### Before everything starts, install AutoGen with the `lmm` option\n",
"```bash\n",
"pip install \"pyautogen[lmm]>=0.2.3\"\n",
"pip install \"autogen[lmm]>=0.3.0\"\n",
"```"
]
},
Expand Down
4 changes: 2 additions & 2 deletions notebook/agentchat_nested_chats_chess.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"source": [
"## Installation\n",
"\n",
"First you need to install the `pyautogen` and `chess` packages to use AutoGen."
"First you need to install the `autogen` and `chess` packages to use AutoGen."
]
},
{
Expand All @@ -48,7 +48,7 @@
"metadata": {},
"outputs": [],
"source": [
"! pip install -qqq pyautogen chess"
"! pip install -qqq autogen chess"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions notebook/agentchat_nested_sequential_chats.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"\n",
"\\:\\:\\:info Requirements\n",
"\n",
"Install `pyautogen`:\n",
"Install `autogen`:\n",
"```bash\n",
"pip install pyautogen\n",
"pip install autogen\n",
"```\n",
"\n",
"For more information, please refer to the [installation guide](/docs/installation/).\n",
Expand Down
4 changes: 2 additions & 2 deletions notebook/agentchat_oai_assistant_groupchat.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"AutoGen requires `Python>=3.8`. To run this notebook example, please install:\n",
"````{=mdx}\n",
":::info Requirements\n",
"Install `pyautogen`:\n",
"Install `autogen`:\n",
"```bash\n",
"pip install pyautogen\n",
"pip install autogen\n",
"```\n",
"\n",
"For more information, please refer to the [installation guide](/docs/installation/).\n",
Expand Down
4 changes: 2 additions & 2 deletions notebook/agentchat_oai_code_interpreter.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"AutoGen requires `Python>=3.8`. To run this notebook example, please install:\n",
"````{=mdx}\n",
":::info Requirements\n",
"Install `pyautogen`:\n",
"Install `autogen`:\n",
"```bash\n",
"pip install pyautogen\n",
"pip install autogen\n",
"```\n",
"\n",
"For more information, please refer to the [installation guide](/docs/installation/).\n",
Expand Down
6 changes: 3 additions & 3 deletions notebook/agentchat_planning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"\n",
"## Requirements\n",
"\n",
"AutoGen requires `Python>=3.8`. To run this notebook example, please install pyautogen and docker:\n",
"AutoGen requires `Python>=3.8`. To run this notebook example, please install autogen and docker:\n",
"```bash\n",
"pip install pyautogen docker\n",
"pip install autogen docker\n",
"```"
]
},
Expand All @@ -37,7 +37,7 @@
},
"outputs": [],
"source": [
"# %pip install \"pyautogen>=0.2.3\" docker"
"# %pip install \"autogen\" docker"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions notebook/agentchat_society_of_mind.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"\n",
"````{=mdx}\n",
":::info Requirements\n",
"Install `pyautogen`:\n",
"Install `autogen`:\n",
"```bash\n",
"pip install pyautogen\n",
"pip install autogen\n",
"```\n",
"\n",
"For more information, please refer to the [installation guide](/docs/installation/).\n",
Expand Down
4 changes: 2 additions & 2 deletions notebook/agentchat_stream.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"\n",
"AutoGen requires `Python>=3.8`. To run this notebook example, please install:\n",
"```bash\n",
"pip install pyautogen\n",
"pip install autogen\n",
"```"
]
},
Expand All @@ -37,7 +37,7 @@
},
"outputs": [],
"source": [
"# %pip install \"pyautogen>=0.2.3\""
"# %pip install \"autogen\""
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions notebook/agentchat_surfer.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"\n",
"AutoGen requires `Python>=3.8`. To run this notebook example, please install AutoGen with the optional `websurfer` dependencies:\n",
"```bash\n",
"pip install \"pyautogen[websurfer]\"\n",
"pip install \"autogen[websurfer]\"\n",
"```"
]
},
Expand All @@ -25,7 +25,7 @@
"metadata": {},
"outputs": [],
"source": [
"%pip install --quiet \"pyautogen[websurfer]\""
"%pip install --quiet \"autogen[websurfer]\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebook/agentchat_teachability.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"Some extra dependencies are needed for this notebook, which can be installed via pip:\n",
"\n",
"```bash\n",
"pip install pyautogen[teachable]\n",
"pip install autogen[teachable]\n",
"```\n",
"\n",
"For more information, please refer to the [installation guide](/docs/installation/).\n",
Expand Down
4 changes: 2 additions & 2 deletions notebook/agentchat_teachable_oai_assistants.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"\n",
"AutoGen requires `Python>=3.8`. To run this notebook example, please install the [teachable] option.\n",
"```bash\n",
"pip install \"pyautogen[teachable]\"\n",
"pip install \"autogen[teachable]\"\n",
"```"
]
},
Expand All @@ -31,7 +31,7 @@
"outputs": [],
"source": [
"%%capture --no-stderr\n",
"# %pip install \"pyautogen[teachable]\""
"# %pip install \"autogen[teachable]\""
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions notebook/agentchat_teaching.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"\n",
"````{=mdx}\n",
":::info Requirements\n",
"Install `pyautogen`:\n",
"Install `autogen`:\n",
"```bash\n",
"pip install pyautogen\n",
"pip install autogen\n",
"```\n",
"\n",
"For more information, please refer to the [installation guide](/docs/installation/).\n",
Expand Down
4 changes: 2 additions & 2 deletions notebook/agentchat_transform_messages.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"\n",
"````{=mdx}\n",
":::info Requirements\n",
"Install `pyautogen`:\n",
"Install `autogen`:\n",
"```bash\n",
"pip install pyautogen\n",
"pip install autogen\n",
"```\n",
"\n",
"For more information, please refer to the [installation guide](/docs/installation/).\n",
Expand Down
4 changes: 2 additions & 2 deletions notebook/agentchat_two_users.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"\n",
"AutoGen requires `Python>=3.8`. To run this notebook example, please install:\n",
"```bash\n",
"pip install pyautogen\n",
"pip install autogen\n",
"```"
]
},
Expand All @@ -36,7 +36,7 @@
},
"outputs": [],
"source": [
"# %pip install \"pyautogen>=0.2.3\""
"# %pip install \"autogen\""
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"Some extra dependencies are needed for this notebook, which can be installed via pip:\n",
"\n",
"```bash\n",
"pip install pyautogen openai openai-whisper\n",
"pip install autogen openai openai-whisper\n",
"```\n",
"\n",
"For more information, please refer to the [installation guide](/docs/installation/).\n",
Expand Down
6 changes: 3 additions & 3 deletions notebook/agentchat_web_info.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"\n",
"## Requirements\n",
"\n",
"AutoGen requires `Python>=3.8`. To run this notebook example, please install pyautogen and docker:\n",
"AutoGen requires `Python>=3.8`. To run this notebook example, please install autogen and docker:\n",
"```bash\n",
"pip install pyautogen docker\n",
"pip install autogen docker\n",
"```"
]
},
Expand All @@ -41,7 +41,7 @@
},
"outputs": [],
"source": [
"# %pip install \"pyautogen>=0.2.3\" docker"
"# %pip install \"autogen\" docker"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebook/agentchat_webscraping_with_apify.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metadata": {},
"outputs": [],
"source": [
"! pip install -qqq pyautogen apify-client"
"! pip install -qqq autogen apify-client"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebook/agentchat_websockets.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Some extra dependencies are needed for this notebook, which can be installed via pip:\n",
"\n",
"```bash\n",
"pip install pyautogen[websockets] fastapi uvicorn\n",
"pip install autogen[websockets] fastapi uvicorn\n",
"```\n",
"\n",
"For more information, please refer to the [installation guide](/docs/installation/).\n",
Expand Down
4 changes: 2 additions & 2 deletions notebook/agentchat_with_memory.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"source": [
"This notebook demonstrates an intelligent customer service chatbot system that combines:\n",
"\n",
"- PyAutoGen for conversational agents\n",
"- AutoGen for conversational agents\n",
"- Mem0 for memory management\n",
"\n",
"[Mem0](https://www.mem0.ai/) provides a smart, self-improving memory layer for Large Language Models (LLMs), enabling developers to create personalized AI experiences that evolve with each user interaction. Refer [docs](https://docs.mem0.ai/overview) for more information.\n",
Expand All @@ -38,7 +38,7 @@
"Some extra dependencies are needed for this notebook, which can be installed via pip:\n",
"\n",
"```bash\n",
"pip install pyautogen mem0ai\n",
"pip install autogen mem0ai\n",
"```\n",
"\n",
"For more information, please refer to the [installation guide](/docs/installation/).\n",
Expand Down
2 changes: 1 addition & 1 deletion notebook/async_human_input.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"outputs": [],
"source": [
"%pip install \"pyautogen>=0.2.3\" chromadb sentence_transformers tiktoken pypdf nest-asyncio"
"%pip install \"autogen\" chromadb sentence_transformers tiktoken pypdf nest-asyncio"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions notebook/autobuild_agent_library.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"source": [
"## Requirement\n",
"\n",
"AutoBuild require `pyautogen[autobuild]`, which can be installed by the following command:"
"AutoBuild require `autogen[autobuild]`, which can be installed by the following command:"
]
},
{
Expand All @@ -36,7 +36,7 @@
},
"outputs": [],
"source": [
"%pip install pyautogen[autobuild]"
"%pip install autogen[autobuild]"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions notebook/autobuild_basic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"source": [
"## Requirement\n",
"\n",
"AutoBuild require `pyautogen[autobuild]`, which can be installed by the following command:"
"AutoBuild require `autogen[autobuild]`, which can be installed by the following command:"
]
},
{
Expand All @@ -38,7 +38,7 @@
},
"outputs": [],
"source": [
"%pip install pyautogen[autobuild]"
"%pip install autogen[autobuild]"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebook/autogen_uniformed_api_calling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"By default, AutoGen is installed with OpenAI support.\n",
" \n",
"```bash\n",
"pip install pyautogen[gemini,anthropic,mistral,together]\n",
"pip install autogen[gemini,anthropic,mistral,together]\n",
"```\n",
"\n",
"\n",
Expand Down
Loading

0 comments on commit f10e5cf

Please sign in to comment.