Query Regarding Ai Project Client Used in Step05_AzureAiAgent_FileSearch? Agent Framework in C# #10909
-
I want to use the feature to attach files while using Agents, and #10780 thanks to @sophialagerkranspandey that I got the reference of https://github.com/microsoft/semantic-kernel/blob/main/dotnet/samples/GettingStartedWithAgents/AzureAIAgent/Step05_AzureAIAgent_FileSearch.cs. But I as we can Clearly See that Step05_AzureAiAgent_FileSearch Class is derived from BaseAzureAgentTest which derived from BaseAgentsTest < AiProjectClient>, I have a confusion regarding what is this AiProjectClient, I have also used Azure Ai Foundry on there is also support of Agents (which are in preview), And in the AiProjectClient there is lot of mentioned about Uri of Foundary, and AiProjectClient is created By using AzureAiAgent Class's CreateAzureAiClient Method, and AzureAiAgent class is derived from KernelAgent which is from Agent.
Anyone who is interested and want to help please reply. I am happy to learn together with you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Tagging @crickman |
Beta Was this translation helpful? Give feedback.
-
Hi @lovedeepatsgit, thanks for your questions.
|
Beta Was this translation helpful? Give feedback.
Hi @lovedeepatsgit, thanks for your questions.
AzureAIAgent
is specifically based on a hosted agent definition that exists in the Azure AI Foundry via the Agent Service: https://learn.microsoft.com/azure/ai-services/agents/overview. TheAIProjectClient
is an artifact of the SDK used to interact with this Foundry Services: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/ai/Azure.AI.Projects. For thefile-search
tool, the foundry hosts a vector store that contains all of the desired files to be searched: https://learn.microsoft.com/azure/ai-services/agents/how-to/tools/file-search.