microsoft / hack-together-dotnet

HackTogether: The Microsoft .NET 8 Global Hack | Register, Hack, Win
MIT License
289 stars 48 forks source link

I don't have limited access to Azure Open AI #26

Closed artemcodit closed 10 months ago

artemcodit commented 10 months ago

Screenshot 2023-11-22 132519 Hello. Help me get access to get OpenAI, as I want to use this service in the project. I received two keys in the mail, but both don't work.

justinyoo commented 10 months ago

Hey, @artemcodit

You might have received a GUID as the access code. You need to use this access code with your GitHub alias like your-access-code/github-alias. For example, say your access code is 1c4e1dbe-da86-4b60-9df4-2b59717738ba (which I just took from a random GUID generator), then your API key should be 1c4e1dbe-da86-4b60-9df4-2b59717738ba/artemcodit

Please double check this document to get your access code working:

👉 https://github.com/microsoft/hack-together-dotnet/blob/main/OPENAI-README.md#instantiate-the-client

artemcodit commented 10 months ago

Thank you. This works in my code. Just a service https://aoai.hacktogether.net / it doesn't work for me.

justinyoo commented 10 months ago

Oh, you mean the Playground page doesn't work as expected? Would you please provide us with the repro so that we can find out on our end?

artemcodit commented 10 months ago

Yes, playground doesn't work for me. In any case, the key also works well in my code. So you can close this topic. Thank you for your help!