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.17k stars 4.53k forks source link

ClientModel: Investigate LRO pattern for unbranded clients #42114

Open pallavit opened 4 months ago

pallavit commented 4 months ago

This is not a GA blocker. We would like to get this in for the GA but we can unblock OpenAI SDK scenarios if this does not land on time.

Scope

Additional context

OpenAI uses LRO patterns for their assistance API. We will currently implement it in convenience layer and will in future consider supporting it in the de-branded toolchain end to end.

It is hard to envision today what this looks like as a generic LRO pattern that can be supported across clouds. Here is the typespec information about it - https://azure.github.io/typespec-azure/docs/libraries/azure-core/reference/js-api/interfaces/LroMetadata

jsquire commented 4 months ago

I thought that it was decided that LROs were an Azure pattern and any unbranded clients that needed them would be doing so in the client package. @KrzysztofCwalina, am I remembering that incorrectly?

pallavit commented 4 months ago

Unfortunately this is something we found recently and will be likely needed. We will need to understand the scope for March end release (we will get clarity by 2/27) but it is possible that this is something we need for it.

jsquire commented 3 months ago

Rescoping this to "investigate" because we need to make a decision whether or not there's an LRO pattern popular enough that we feel it should be included in Client Model. If the OpenAI implementation is specific to OpenAI, then it should be local to that library.

annelo-msft commented 1 month ago

Related to: