From 7212f76dccb925ca9bf0617672324edddbd670c2 Mon Sep 17 00:00:00 2001 From: Aaron Wislang Date: Fri, 21 Mar 2025 20:14:35 -0400 Subject: [PATCH 1/3] Fix links --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 91ba87d5..b9d86ce8 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ if stream.Err() != nil { _ = acc.Choices[0].Message.Content ``` -> See the [full streaming and accumulation example]./examples/chat-completion-accumulating/main.go) +> See the [full streaming and accumulation example](./examples/chat-completion-accumulating/main.go) @@ -202,7 +202,7 @@ for _, toolCall := range toolCalls { // ... continue the conversation with the information provided by the tool ``` -> See the [full tool calling example]./examples/chat-completion-tool-calling/main.go) +> See the [full tool calling example](./examples/chat-completion-tool-calling/main.go) @@ -751,7 +751,7 @@ middleware has been applied. ## Microsoft Azure OpenAI -To use this library with [Azure OpenAI]https://learn.microsoft.com/azure/ai-services/openai/overview), use the ption.RequestOption functions in the `azure` package. +To use this library with [Azure OpenAI Service](https://learn.microsoft.com/azure/ai-services/openai/overview), use the option.RequestOption functions in the `azure` package. ```go package main From 997e595be6f3198a49e67a34a7ff1bc8d1957479 Mon Sep 17 00:00:00 2001 From: Aaron Wislang Date: Tue, 20 May 2025 18:24:36 -0400 Subject: [PATCH 2/3] Update Azure service name --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 13e96e0c..491fb324 100644 --- a/README.md +++ b/README.md @@ -772,9 +772,9 @@ You may also replace the default `http.Client` with accepted (this overwrites any previous client) and receives requests after any middleware has been applied. -## Microsoft Azure OpenAI +## Azure OpenAI in Azure AI Foundry Models -To use this library with [Azure OpenAI Service](https://learn.microsoft.com/azure/ai-services/openai/overview), +To use this library with [Azure OpenAI in Azure AI Foundry Models](https://learn.microsoft.com/azure/ai-services/openai/overview), use the option.RequestOption functions in the `azure` package. ```go From 6b8751bc63035466a8c3aa157b93b67f6bb2ea76 Mon Sep 17 00:00:00 2001 From: Aaron Wislang Date: Tue, 20 May 2025 18:28:01 -0400 Subject: [PATCH 3/3] Fix link in comment --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 491fb324..ac50a2f7 100644 --- a/README.md +++ b/README.md @@ -790,7 +790,7 @@ func main() { const azureOpenAIEndpoint = "https://.openai.azure.com" // The latest API versions, including previews, can be found here: - // ttps://learn.microsoft.com/en-us/azure/ai-services/openai/reference#rest-api-versionng + // https://learn.microsoft.com/azure/ai-services/openai/reference#rest-api-versioning const azureOpenAIAPIVersion = "2024-06-01" tokenCredential, err := azidentity.NewDefaultAzureCredential(nil)