Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.25k stars 4.58k forks source link

[FEATURE REQ] Add support for ParticipantName on Chat Messages #45415

Open RogerBarret0 opened 1 month ago

RogerBarret0 commented 1 month ago

Library name

Azure.AI.Inference

Please describe the feature.

Current specialized Message types does not support ParticipantName/AuthorName properties.

Azure.AI.OpenAI SDK - Name OpenAI SDK - ParticipantName

github-actions[bot] commented 1 month ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jpalvarezl @ralph-msft @trrwilson.

stephentoub commented 1 month ago

Current specialized Message types does not support ParticipantName/AuthorName properties.

Do these show up in other services? Or is it OpenAI-specific-enough that this would be something that would go through the fallback dictionary of "other stuff"?

RogerBarret0 commented 1 month ago

@stephentoub I think this also a valid point, current Message don't support extended properties publicly, although I can see there's a _serializedAdditionalRawData that could potentially be used for extra data specialized data (i.e: ParticipantName).