You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Basic_Samples/Functions/README.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,12 @@ pip install -r requirements.txt
9
9
```
10
10
11
11
### Microsoft Azure Endpoints
12
-
In order to use the Open AI library or REST API with Microsoft Azure endpoints, you need to set DEPLOYMENT_ID, OPENAI_API_BASE & OPENAI_API_VERSIONin the _config.json_ file.
12
+
In order to use the OpenAI library or REST API with Microsoft Azure endpoints, you need to set your `AZURE_OPENAI_ENDPOINT` in the `config.json` file. We've prepopulated the `MODEL_NAME` and `OPENAI_API_VERSION` variables for you in the `config.json` file with default values. You can change these values if you like.
// Only required for the functions_with_azure_search.ipynb notebook
@@ -25,7 +25,7 @@ In order to use the Open AI library or REST API with Microsoft Azure endpoints,
25
25
```
26
26
27
27
### For getting started:
28
-
- Add "OPENAI_API_KEY" as variable name and \<Your API Key Value\> as variable value in the environment variables.
28
+
- Add `OPENAI_API_KEY` as variable name and \<Your API Key Value\> as variable value in the environment variables.
29
29
<br>
30
30
One can get the OPENAI_API_KEY value from the Azure Portal. Go to https://portal.azure.com, find your resource and then under "Resource Management" -> "Keys and Endpoints" look for one of the "Keys" values.
31
31
<br>
@@ -36,11 +36,8 @@ One can get the OPENAI_API_KEY value from the Azure Portal. Go to https://portal
- To find your "DEPLOYMENT_ID" go to the deployments page of the Azure AI Studio. Create a deployment if one does not already exist.
40
-
One can start with using your model name as "gpt-35-turbo-0613" or "gpt-4."
39
+
- To find your `AZURE_OPENAI_ENDPOINT` go to https://portal.azure.com, find your resource and then under "Resource Management" -> "Keys and Endpoints" look for the "Endpoint" value.
41
40
42
-
- To find your "OPENAI_API_BASE" go to https://portal.azure.com, find your resource and then under "Resource Management" -> "Keys and Endpoints" look for the "Endpoint" value.
43
-
- Current, function calling can only be used with the "2023-07-01-preview" API version. Check out versions [here](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference).
0 commit comments