Skip to content

Commit a64423d

Browse files
committed
PR comments
1 parent cb65620 commit a64423d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/ai-services/openai/how-to/use-web-app.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,11 @@ In the webapp application settings, navigate to "Environment Variables" and make
125125

126126
If using an embedding model deployed to the same resource as your model used for inference, there are no additional settings changes required.
127127

128-
However, if you're using an embedding model deployed to the same resource, please make the following additional changes to your app's environment variables:
129-
* Set `AZURE_OPENAI_EMBEDDING_ENDPOINT` variable to the full API path of the embedding API, e.g. `https://<your AOAI resource name>.openai.azure.com/openai/deployments/<your embedding deployment name>/embeddings`
128+
However, if you're using an embedding model deployed to a different resource, please make the following additional changes to your app's environment variables:
129+
* Set `AZURE_OPENAI_EMBEDDING_ENDPOINT` variable to the full API path of the embedding API for the resource you're using for embeddings, e.g. `https://<your embedding AOAI resource name>.openai.azure.com/openai/deployments/<your embedding deployment name>/embeddings`
130130
* Delete the `AZURE_OPENAI_EMBEDDING_KEY` variable to use Entra ID authentication.
131131

132-
Once all of the environment variable changes are completed, restart the webapp to begin using Entra ID authentication between services in the webapp.
132+
Once all of the environment variable changes are completed, restart the webapp to begin using Entra ID authentication between services in the webapp. It will take a few minutes after restarting for any settings changes to take effect.
133133

134134
## Related content
135135

0 commit comments

Comments
 (0)