A programming framework for agentic AI
The following example shows how to create an @AutoGen.OpenAI.OpenAIChatAgent and chat with it.
Firsly, import the required namespaces: [!code-csharp]
Then, create an @AutoGen.OpenAI.OpenAIChatAgent and chat with it: [!code-csharp]
@AutoGen.OpenAI.OpenAIChatAgent also supports streaming chat via @AutoGen.Core.IAgent.GenerateStreamingReplyAsync*.