You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolve some regressions in the ChatCompletionMessage.ToParam() method.
Elide nulls from assistant, when creating a follow up request.
Elide empty tool calls.
Also contains some documentation fixes.
Co-authored-by: Jacob Zimmerman <[email protected]>
Copy file name to clipboardexpand all lines: README.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -140,7 +140,7 @@ if stream.Err() != nil {
140
140
_ = acc.Choices[0].Message.Content
141
141
```
142
142
143
-
> See the [full streaming and accumulation example]./examples/chat-completion-accumulating/main.go)
143
+
> See the [full streaming and accumulation example](./examples/chat-completion-accumulating/main.go)
144
144
145
145
</details>
146
146
@@ -206,7 +206,7 @@ for _, toolCall := range toolCalls {
206
206
// ... continue the conversation with the information provided by the tool
207
207
```
208
208
209
-
> See the [full tool calling example]./examples/chat-completion-tool-calling/main.go)
209
+
> See the [full tool calling example](./examples/chat-completion-tool-calling/main.go)
210
210
211
211
</details>
212
212
@@ -755,7 +755,8 @@ middleware has been applied.
755
755
756
756
## Microsoft Azure OpenAI
757
757
758
-
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.
758
+
To use this library with [Azure OpenAI]https://learn.microsoft.com/azure/ai-services/openai/overview),
759
+
use the option.RequestOption functions in the `azure` package.
0 commit comments