Skip to content

Commit cf087da

Browse files
committed
Fix README
1 parent 2262a0e commit cf087da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ print(completion.choices[0].text)
7878
print(search)
7979
```
8080

81-
Please note that for the moment, the Microsoft Azure endpoints can only be used for completion, embeddings, and fine-tuning operations.
81+
Please note that for the moment, the Microsoft Azure endpoints can only be used for completion, embedding, and fine-tuning operations.
8282
For a detailed example on how to use fine-tuning and other operations using Azure endpoints, please check out the following Jupyter notebooks:
8383
* [Using Azure completions](https://github.com/openai/openai-cookbook/tree/main/examples/azure/completions.ipynb)
8484
* [Using Azure fine-tuning](https://github.com/openai/openai-cookbook/tree/main/examples/azure/finetuning.ipynb)
@@ -95,7 +95,7 @@ import openai
9595

9696
# Request credential
9797
default_credential = DefaultAzureCredential()
98-
token = default_credential.get_token("https://cognitiveservices.azure.com")
98+
token = default_credential.get_token("https://cognitiveservices.azure.com/.default")
9999

100100
# Setup parameters
101101
openai.api_type = "azure_ad"

0 commit comments

Comments
 (0)