Table of Contents

Namespace AutoGen.SemanticKernel

Classes

KernelPluginMiddleware

A middleware that consumes Microsoft.SemanticKernel.KernelPlugin

SemanticKernelAgent

Semantic Kernel Agent Income message could be one of the following type:

  • IMessage<T> where T is Microsoft.SemanticKernel.ChatMessageContent
Return message could be one of the following type:
  • IMessage<T> where T is Microsoft.SemanticKernel.ChatMessageContent
  • (streaming) IMessage<T> where T is Microsoft.SemanticKernel.StreamingChatMessageContent

To support more AutoGen built-in IMessage, register with SemanticKernelChatMessageContentConnector.

SemanticKernelChatCompletionAgent
SemanticKernelChatMessageContentConnector

This middleware converts the incoming IMessage to Microsoft.SemanticKernel.ChatMessageContent before passing to agent. And converts the reply message from Microsoft.SemanticKernel.ChatMessageContent to IMessage before returning to the caller.

requirement for agent

- Input message type: IMessage<T> where T is Microsoft.SemanticKernel.ChatMessageContent

- Reply message type: IMessage<T> where T is Microsoft.SemanticKernel.ChatMessageContent

- (streaming) Reply message type: IMessage<T> where T is Microsoft.SemanticKernel.StreamingChatMessageContent

This middleware supports the following message types:

- TextMessage

- ImageMessage

- MultiModalMessage

This middleware returns the following message types:

- TextMessage

- ImageMessage

- MultiModalMessage

- (streaming) TextMessageUpdate