Repository navigation
v1.0.0 — Decisions API in Azure OpenAI: A C# Walkthrough #2
taswar
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The first release of a C# sample for the Azure OpenAI Decisions API, now generally available in Microsoft Foundry.
Instead of generating text, the Decisions API returns typed answers your code can branch on. This sample sends one support ticket and asks three questions in a single request.
What's included
DefaultAzureCredential(az loginlocally)HttpClientagainstPOST /openai/v1/decisionsExample output
The 13% confidence on severity is the signal to send the ticket to a person.
Requirements
gpt-6-lunadeployment (currently the only model the Decisions API supports)Get started
See the README for configuration and troubleshooting.
Learn more
⭐ If this saved you time, star the repo so other .NET developers can find it.
This discussion was created from the release v1.0.0 — Decisions API in Azure OpenAI: A C# Walkthrough.
All reactions