2 references to ToChatRole
Microsoft.Extensions.AI.AzureAIInference (2)
AzureAIInferenceChatClient.cs (2)
99
Role =
ToChatRole
(response.Role),
165
streamedRole ??= chatCompletionUpdate.Role is global::Azure.AI.Inference.ChatRole role ?
ToChatRole
(role) : null;