mirror of
https://github.com/microsoft/autogen.git
synced 2025-12-24 13:39:24 +00:00
* replace Event to CloudEvent WIP * switch to CloudEvents * dapr implementation WIP * fix namespaces and dapr sdk weirdness * WIP * dapr support WIP * dapr WIP * dapr WIP * dapr semi-working implementation * fix mapping bug * dapr reminders in sandbox * fix prompts * merge almost done * switch to Newtnsoft serialization for Marketing * add event surogate for Orleans serialization * remove newtnsoft serialization (not needed) * cleanup appsettings in marketing sample
29 lines
781 B
C#
29 lines
781 B
C#
using Dapr.Actors.Runtime;
|
|
using Dapr.Client;
|
|
using Microsoft.AI.Agents.Abstractions;
|
|
using Microsoft.AI.Agents.Dapr;
|
|
using Microsoft.SemanticKernel;
|
|
using Microsoft.SemanticKernel.Memory;
|
|
|
|
namespace Microsoft.AI.DevTeam.Dapr;
|
|
|
|
|
|
// The architect has Org+Repo scope and is holding the knowledge of the high level architecture of the project
|
|
public class Architect : AiAgent<ArchitectState>,IDaprAgent
|
|
{
|
|
public Architect(ActorHost host, DaprClient client, ISemanticTextMemory memory, Kernel kernel)
|
|
: base(host, client, memory, kernel)
|
|
{
|
|
}
|
|
|
|
public override Task HandleEvent(Event item)
|
|
{
|
|
return Task.CompletedTask;
|
|
}
|
|
}
|
|
|
|
public class ArchitectState
|
|
{
|
|
public string FilesTree { get; set; }
|
|
public string HighLevelArchitecture { get; set; }
|
|
} |