Skip to content

Commit 8a97292

Browse files
abdomohamedekzhu
andauthored
Add azure ai agent (#6191)
- Added the support Azure AI Agent. The new agent is named AzureAIAgent. - The agent supports Bing search, file search, and Azure search tools. - Added a Jupiter notebook to demonstrate the usage of the AzureAIAgent. ## What's missing? - AzureAIAgent support only text message responses - Parallel execution for the custom functions. ## Related issue number [5545](#5545 (comment)) --------- Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
1 parent f00f7d2 commit 8a97292

10 files changed

Lines changed: 2200 additions & 1 deletion

File tree

python/packages/autogen-core/docs/src/reference/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ python/autogen_core.logging
4141
:caption: AutoGen Extensions
4242
:maxdepth: 2
4343
44+
python/autogen_ext.agents.azure
4445
python/autogen_ext.agents.magentic_one
4546
python/autogen_ext.agents.openai
4647
python/autogen_ext.agents.web_surfer
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
autogen\_ext.agents.azure
2+
================================
3+
4+
5+
.. automodule:: autogen_ext.agents.azure
6+
:members:
7+
:undoc-members:
8+
:show-inheritance:

python/packages/autogen-core/docs/src/user-guide/core-user-guide/cookbook/data/nifty_500_quarterly_results.csv

Lines changed: 502 additions & 0 deletions
Large diffs are not rendered by default.

python/packages/autogen-ext/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ anthropic = ["anthropic>=0.48"]
2323
langchain = ["langchain_core~= 0.3.3"]
2424
azure = [
2525
"azure-ai-inference>=1.0.0b7",
26+
"azure-ai-projects>=1.0.0b8",
2627
"azure-core",
2728
"azure-identity",
2829
"azure-search-documents>=11.4.0",
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
try:
2+
from ._azure_ai_agent import AzureAIAgent
3+
except ImportError as e:
4+
raise ImportError(
5+
"Dependencies for AzureAIAgent not found. "
6+
'Please install autogen-ext with the "azure" extra: '
7+
'pip install "autogen-ext[azure]"'
8+
) from e
9+
10+
__all__ = ["AzureAIAgent"]

0 commit comments

Comments
 (0)