I am working on a UWP application that interacts with Azure OpenAI chat client. I have been using the latest Nuget package (2.0.0-beta.2) and have had some success creating and using a chat client. I am now trying to add a data source to my chat client, but it seems that there is no way to create a data source with the C# language version I am currently using. I have been using this sample as a guide:
https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/openai/Azure.AI.OpenAI/tests/Samples/02_Oyd.cs
C# 7.3 does not support init-only setters, which seem to be a requirement to create one of the AzureChatDataSource objects. Since I cannot upgrade my UWP project to version 9.0 and I cannot find a workaround, I seem to be stuck. Other features of this library seem to otherwise be supported, so I suspect this may have been an oversight.
The attached image shows the issue I am having.
![User's image](https://learn-attachment.microsoft.com/api/attachments/4c2af661-5645-453b-9bab-eb57a8727bf0?platform=QnA)
Syntactically, there doesn't seem to be any other way to create a data source. Is there something I am missing? Please advise. Thanks!