microsoft / microsoft/agent-framework
.NET: Declarative Agent Sample issue/question
- Dominant language
- Python
- Stars
- 13.6k
- Forks
- 2.3k
- Avg merge
- 2d 45m
- Merged PRs (30d)
- 358
Description
Looking for a Declarative Workflow sample and trying to build it out of the solution.
https://github.com/microsoft/agent-framework/tree/main/dotnet/samples/02-agents/Agents/Agent_Step16_Declarative
## Issue 1
The sample does not compile due to missing package that implements the `ChatClientPromptAgentFactory`.
Using the following packages:
```
```
## Issue 2 (Question)
Why is there a dependency on `Azure.AI.Projects` and `AIProjectClient`? .. Or is this a coincidence, which means any `IChatClient `can be used?
Decalrative Workflows should be used without Foundry Project dependency.
Most other samples used following ChatClient construction:
var chatClient = new AzureOpenAIClient(new Uri(endpoint),
new DefaultAzureCredential()).GetChatClient(deploymentName).AsIChatClient();
See the same dependency in other samples like: https://learn.microsoft.com/en-us/agent-framework/integrations/a2a?tabs=dotnet-cli%2Cuser-secrets&pivots=programming-language-csharp
Contributor guide
Assessment
This issue has not been assessed yet.