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: 04_Explore_OpenAI_models/README.md
+2-27Lines changed: 2 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,33 +60,8 @@ The [fine-tuning guide](https://learn.microsoft.com/azure/ai-services/openai/how
60
60
61
61
## Explore and use models from code
62
62
63
-
64
-
### OpenAI Client Library
65
-
66
-
When integrating Azure OpenAI service in a solution written in Python, the OpenAI Python client library is used. This library is maintained by OpenAI, and is compatible with the Azure OpenAI service.
67
-
68
-
Install the latest `openai` client library:
69
-
```bash
70
-
pip install openai
71
-
```
72
-
73
-
When using the OpenAI client library, the `key` and `endpoint` for the Azure OpenAI service will be needed. This will enable the application to make API calls against the Azure OpenAI service.
74
-
75
-
The Azure OpenAI service `key` and `endpoint` can be located on **Azure OpenAI** blade in the Azure Portal on the **Keys and Endpoint** pane.
63
+
The `key` and `endpoint` necessary to make API calls to Azure OpenAI can be located on **Azure OpenAI** blade in the Azure Portal on the **Keys and Endpoint** pane.
76
64
77
65

78
66
79
-
It is helpful to set these as environment variables, then reference those environment variables from code. Here's an example of this using the recommended environment variable names:
0 commit comments