cd go
export OPENAI_URL="https://<myresource>.openai.azure.com/"
export OPENAI_KEY="XXXXXXXXXXXXXXXXX"
export OPENAI_DEPLOYMENT="<mydeployment>"
go run .
(Setup the environment variables as appropriate)
The Azure OpenAI SDK for chat completion seems incomplete. This demo does not use it.