Namespace AutoGen.AzureAIInference
Classes
- AzureAIInferenceChatRequestMessageConnector
This middleware converts the incoming IMessage to IMessage<T> where T is Azure.AI.Inference.ChatRequestMessage before sending to agent. And converts the output Azure.AI.Inference.ChatResponseMessage to IMessage after receiving from agent.
Supported IMessage are
- IMessage<T> where T is Azure.AI.Inference.ChatRequestMessage
- AggregateMessage<TMessage1, TMessage2> where TMessage1 is ToolCallMessage and TMessage2 is ToolCallResultMessage
- ChatCompletionsClientAgent
ChatCompletions client agent. This agent is a thin wrapper around Azure.AI.Inference.ChatCompletionsClient to provide a simple interface for chat completions.
ChatCompletionsClientAgent supports the following message types:
- MessageEnvelope<T> where T is Azure.AI.Inference.ChatRequestMessage: chat request message.
ChatCompletionsClientAgent returns the following message types:
- MessageEnvelope<T> where T is Azure.AI.Inference.ChatResponseMessage: chat response message. MessageEnvelope<T> where T is Azure.AI.Inference.StreamingChatCompletionsUpdate: streaming chat completions update.