openai cookbook is not working and returning error

Dan Ishutin 60 Reputation points
2024-04-29T22:49:38.1133333+00:00

I am following azure OpenAI cookbook but the code sample there is not working as expected, different error returns to different request. Is that the official document? Is there sample repo for us to download and run?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,604 questions
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 46,996 Reputation points
    2024-04-30T03:19:12.25+00:00

    @Dan Ishutin Thanks for reaching out to us.

    The Azure OpenAI Cookbook, are you referring to this repo ? - https://github.com/openai/openai-cookbook/tree/main

    This so called cookbook is actually for OpenAI not for Azure OpenAI, for Azure OpenAI, please follow this repo - https://github.com/Azure-Samples/openai

    The blog about this repo is here - https://techcommunity.microsoft.com/t5/ai-azure-ai-services-blog/introducing-azure-openai-code-repository-your-gateway-to/ba-p/3799701

    The official document is here - https://learn.microsoft.com/en-us/azure/ai-services/openai/

    Official document is always the most best place for reference.

    If you are in the right repo, but you feel like the content is not correct, please let us know and share the URL to us, thanks.

    Regards,

    Yutong

    1 person found this answer helpful.