From 810e6fe8ab8dacf91fbf4fb8d6b396e6a42e7042 Mon Sep 17 00:00:00 2001 From: Deyaaeldeen Almahallawi Date: Mon, 18 Nov 2024 20:21:39 +0200 Subject: [PATCH] [OpenAI] Fix samples links (#31806) --- sdk/openai/openai/samples/v2-beta/javascript/README.md | 2 +- sdk/openai/openai/samples/v2-beta/typescript/README.md | 2 +- sdk/openai/openai/samples/v2/javascript/README.md | 2 +- sdk/openai/openai/samples/v2/typescript/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/openai/openai/samples/v2-beta/javascript/README.md b/sdk/openai/openai/samples/v2-beta/javascript/README.md index 70d945a2294..c4f2f9563f2 100644 --- a/sdk/openai/openai/samples/v2-beta/javascript/README.md +++ b/sdk/openai/openai/samples/v2-beta/javascript/README.md @@ -84,7 +84,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [streamcompletions]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/openai/openai/samples/v2-beta/javascript/streamCompletions.js [texttospeech]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/openai/openai/samples/v2-beta/javascript/textToSpeech.js [toolcall]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/openai/openai/samples/v2-beta/javascript/toolCall.js -[apiref]: https://docs.microsoft.com/javascript/api/@azure/openai +[apiref]: https://learn.microsoft.com/javascript/api/overview/azure/openai [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecognitiveservicesinstance]: https://learn.microsoft.com/azure/cognitive-services/openai/how-to/create-resource [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/openai/openai/README.md diff --git a/sdk/openai/openai/samples/v2-beta/typescript/README.md b/sdk/openai/openai/samples/v2-beta/typescript/README.md index a40ccc10c30..2228940e330 100644 --- a/sdk/openai/openai/samples/v2-beta/typescript/README.md +++ b/sdk/openai/openai/samples/v2-beta/typescript/README.md @@ -96,7 +96,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [streamcompletions]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/openai/openai/samples/v2-beta/typescript/src/streamCompletions.ts [texttospeech]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/openai/openai/samples/v2-beta/typescript/src/textToSpeech.ts [toolcall]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/openai/openai/samples/v2-beta/typescript/src/toolCall.ts -[apiref]: https://docs.microsoft.com/javascript/api/@azure/openai +[apiref]: https://learn.microsoft.com/javascript/api/overview/azure/openai [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecognitiveservicesinstance]: https://learn.microsoft.com/azure/cognitive-services/openai/how-to/create-resource [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/openai/openai/README.md diff --git a/sdk/openai/openai/samples/v2/javascript/README.md b/sdk/openai/openai/samples/v2/javascript/README.md index 1ce1d4bbb97..dab09e6151f 100644 --- a/sdk/openai/openai/samples/v2/javascript/README.md +++ b/sdk/openai/openai/samples/v2/javascript/README.md @@ -84,7 +84,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [streamcompletions]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/openai/openai/samples/v2/javascript/streamCompletions.js [texttospeech]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/openai/openai/samples/v2/javascript/textToSpeech.js [toolcall]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/openai/openai/samples/v2/javascript/toolCall.js -[apiref]: https://docs.microsoft.com/javascript/api/@azure/openai +[apiref]: https://learn.microsoft.com/javascript/api/overview/azure/openai [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecognitiveservicesinstance]: https://learn.microsoft.com/azure/cognitive-services/openai/how-to/create-resource [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/openai/openai/README.md diff --git a/sdk/openai/openai/samples/v2/typescript/README.md b/sdk/openai/openai/samples/v2/typescript/README.md index fe8570e6fd1..afcd79c01a8 100644 --- a/sdk/openai/openai/samples/v2/typescript/README.md +++ b/sdk/openai/openai/samples/v2/typescript/README.md @@ -96,7 +96,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [streamcompletions]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/openai/openai/samples/v2/typescript/src/streamCompletions.ts [texttospeech]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/openai/openai/samples/v2/typescript/src/textToSpeech.ts [toolcall]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/openai/openai/samples/v2/typescript/src/toolCall.ts -[apiref]: https://docs.microsoft.com/javascript/api/@azure/openai +[apiref]: https://learn.microsoft.com/javascript/api/overview/azure/openai [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecognitiveservicesinstance]: https://learn.microsoft.com/azure/cognitive-services/openai/how-to/create-resource [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/openai/openai/README.md