Skip to content

Commit c552eaf

Browse files
Acrolinx may to might
1 parent 106db22 commit c552eaf

File tree

1 file changed

+2
-2
lines changed
  • articles/ai-services/openai/includes

1 file changed

+2
-2
lines changed

articles/ai-services/openai/includes/python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ import openai
8383
openai.api_key = os.getenv("AZURE_OPENAI_KEY")
8484
openai.api_base = os.getenv("AZURE_OPENAI_ENDPOINT") # your endpoint should look like the following https://YOUR_RESOURCE_NAME.openai.azure.com/
8585
openai.api_type = 'azure'
86-
openai.api_version = '2023-05-15' # this may change in the future
86+
openai.api_version = '2023-05-15' # this might change in the future
8787

8888
deployment_name='REPLACE_WITH_YOUR_DEPLOYMENT_NAME' #This will correspond to the custom name you chose for your deployment when you deployed a model.
8989

@@ -145,7 +145,7 @@ Run the code a few more times to see what other types of responses you get as th
145145

146146
Since our example of `Write a tagline for an ice cream shop.` provides little context, it's normal for the model to not always return expected results. You can adjust the maximum number of tokens if the response seems unexpected or truncated.
147147

148-
Azure OpenAI also performs content moderation on the prompt inputs and generated outputs. The prompts or responses may be filtered if harmful content is detected. For more information, see the [content filter](../concepts/content-filter.md) article.
148+
Azure OpenAI also performs content moderation on the prompt inputs and generated outputs. The prompts or responses might be filtered if harmful content is detected. For more information, see the [content filter](../concepts/content-filter.md) article.
149149

150150
## Clean up resources
151151

0 commit comments

Comments
 (0)