azure-sdk-for-net icon indicating copy to clipboard operation
azure-sdk-for-net copied to clipboard

ClientModel: Investigate paging pattern for unbranded clients

Open pallavit opened this issue 1 year ago • 3 comments
trafficstars

This is needed for the preview release currently stated for 5/20

  • Consider the OpenAI paging pattern and other popular paging patterns
  • Investigate whether a given pattern is generic and popular enough to include in System.ClientModel
  • For each paging pattern that is adopted by Client Model, create an issue to track the work for implementation/testing.

pallavit avatar Feb 22 '24 23:02 pallavit

Why is this p2? Pagination is needed for OpenAI scenarios like Files, Images etc. We currently do not have GA timelines but this is something we will have to think about. For instance, why is this lower priority than Variant type?

pallavit avatar Mar 12 '24 23:03 pallavit

Rescoping this to "investigate" because we need to make a decision whether or not there's a paging 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.

jsquire avatar Mar 19 '24 16:03 jsquire

Related to https://github.com/Azure/azure-sdk-for-net/issues/42487

@joseharriaga - please let us know if this becomes a P0 requirement for OpenAI.

annelo-msft avatar Mar 27 '24 17:03 annelo-msft

Addressed by https://github.com/Azure/azure-sdk-for-net/pull/44026

annelo-msft avatar May 20 '24 17:05 annelo-msft