-
Notifications
You must be signed in to change notification settings - Fork 0
Lab 3.1 ‐ Access OpenAI Proxy
The objective of this lab is to give you access to our OpenAI Proxy Playground. This is a chat UI for our privately hosted OpenAI model in Azure that you will use for the following labs. In later labs, you will also use GitHub Copilot, so you can compare options.
Navigate to the following URL in your web browser: https://icy-smoke-02b1c2d03.5.azurestaticapps.net/event/6038-5e5d
A "VSLive Event Registration" page will appear that looks like this:
- Click on the blue
Login with GitHub
in the top right corner - Read the event description including the Terms of use
- Scroll to the bottom of the page and click
Register
- Next, scroll down to the Registration Details section for your API Key and Endpoint
- Copy your API Key to the clipboard
In case you forget or loose your API Key, just revisit this page.
Now you can visit the OpenAI Proxy Playground website and register with your API Key.
Browse to the following URL: https://icy-smoke-02b1c2d03.5.azurestaticapps.net/
A page will appear that looks like this:
In the top right corner, paste the API Key from the previous step into the input box labeled Enter your API Key
and press Authorize
.
On the right side of the web page, set some defaults:
- Model: choose
gpt-4o
- Max tokens:
4096
- this is the maximum value for this model - Temperature:
0.1
- this will make the model produce more deterministic responses, which is desirable in code generation situations
Validate that you can interact with the model by entering a chat message.
You can now use the playground. In the following labs, you will set a system prompt and get the model ready for code generation.