-
Notifications
You must be signed in to change notification settings - Fork 4.2k
.Net: Azure AI Agent tool support: file search, function, bing grounding, open api #10860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.Net: Azure AI Agent tool support: file search, function, bing grounding, open api #10860
Conversation
ba45679
to
9822452
Compare
9822452
to
120100c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This pull request adds support for additional Azure AI Agent tool types – including Function, File Search, Code Interpreter, Bing Grounding, and Open API – while updating the YAML converters and sample definitions accordingly.
- Updated the agent tool extension methods to improve handling of tool configurations and parameters.
- Modified sample agent definitions to use the new "foundry_agent" type and added new test cases for each tool type.
- Revised YAML converters and the agent factory to incorporate the new resources and configuration checks.
Reviewed Changes
File | Description |
---|---|
dotnet/src/Agents/AzureAI/Extensions/AgentToolDefinitionExtensions.cs | Improved parameter processing and configuration handling for tool definitions. |
dotnet/samples/GettingStartedWithAgents/AzureAIAgent/Step08_AzureAIAgent_Declarative.cs | Updated agent type from azureai_agent to foundry_agent and added new integration tests. |
dotnet/src/Agents/AzureAI/Extensions/AgentDefinitionExtensions.cs | Introduced helper methods for retrieving tool resources from agent definitions. |
dotnet/samples/Concepts/FunctionCalling/FunctionCalling.cs | Added logging support to the kernel creation for function calling scenarios. |
dotnet/src/Agents/AzureAI/Definition/AzureAIAgentFactory.cs | Forwarded tool resources to the agent creation call. |
dotnet/src/InternalUtilities/samples/InternalUtilities/TestConfiguration.cs | Registered new configuration keys for Bing and vector store connectivity. |
dotnet/src/Agents/Yaml/*.cs | Updated YAML converters to correctly deserialize AgentToolDefinition and AgentMetadata. |
dotnet/src/Agents/UnitTests/Yaml/AzureAIKernelAgentYamlTests.cs | Updated test cases to reflect the new agent naming and configuration structure. |
dotnet/src/Agents/Abstractions/Definition/KernelAgentFactory.cs | Adjusted asynchronous agent creation behavior. |
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
dotnet/src/Agents/Abstractions/Definition/KernelAgentFactory.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Agents/AzureAI/Extensions/AgentToolDefinitionExtensions.cs
Outdated
Show resolved
Hide resolved
3a593ab
into
microsoft:feature-declarative-agents
Motivation and Context
Add support for following Azure AI Agent tool types
Description
Contribution Checklist