openai / openai-cookbook

Examples and guides for using the OpenAI API
https://cookbook.openai.com
MIT License
58.84k stars 9.34k forks source link

Structured output in Azure OpenAI #1436

Open akshana-aravind opened 3 days ago

akshana-aravind commented 3 days ago

Summary

Added azure openai demo utilising Strict parameters

Motivation

There is no proper documentation available on using the Strict setup in Azure openai. Leading to confusions and conflicts.


For new content

When contributing new content, read through our contribution guidelines, and mark the following action items as completed:

We will rate each of these areas on a scale from 1 to 4, and will only accept contributions that score 3 or higher on all areas. Refer to our contribution guidelines for more details.

akshana-aravind commented 2 days ago

@royziv11 kindly review

royziv11 commented 2 days ago

Hi @akshana-aravind. This repository is only for cookbooks that leverage our APIs directly, not for use of Azure OpenAI. I'd suggest seeing if there is a place within the Azure Developer Community for this notebook.

If you would like to see how to leverage structured outputs using our APIs, I'd recommend checking out this cookbook here

akshana-aravind commented 2 days ago

@royziv11 Thank you for the clarification. I’ll check out the cookbook you recommended and explore OpenAI. I appreciate the guidance.