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.37k stars 4.79k forks source link

[BUG] Streaming documention for 2.0.0 is invalid #46783

Open adameska opened 2 hours ago

adameska commented 2 hours ago

Library name and version

Azure.AI.OpenAI 2.0

Describe the bug

I'm trying to follow the documentation to change chat completion responses to be streaming for a better user experience and i cannot figure out how to get there from the posted documentation. It seems like the class "StreamingChatToolCallsBuilder" just doesn't exist and i can't find anything with a similar name. Can someone either comment if i need to use a pre-release version in the documentation or fix it for the current 2.0 version?

Expected behavior

Documentation provides working examples for 2.0

Actual behavior

It does not

Reproduction Steps

Try and use documentation in your app

Environment

No response

github-actions[bot] commented 1 hour ago

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