Skip to content

Commit cb65620

Browse files
committed
Remove API version from embedding endpoint example
1 parent ff0f51f commit cb65620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ In the webapp application settings, navigate to "Environment Variables" and make
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

128128
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?api-version=2023-03-15-preview`
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`
130130
* Delete the `AZURE_OPENAI_EMBEDDING_KEY` variable to use Entra ID authentication.
131131

132132
Once all of the environment variable changes are completed, restart the webapp to begin using Entra ID authentication between services in the webapp.

0 commit comments

Comments
 (0)