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
Content: openai.F[openai.ChatCompletionUserMessageParamContentUnion](shared.UnionString("How can I get the name of the current day in Node.js?")),
306
+
}}),
304
307
Model: openai.F(openai.ChatModelGPT4o),
305
308
},
306
309
option.WithMaxRetries(5),
@@ -393,44 +396,6 @@ You may also replace the default `http.Client` with
393
396
accepted (this overwrites any previous client) and receives requests after any
394
397
middleware has been applied.
395
398
396
-
## Microsoft Azure OpenAI
397
-
398
-
To use this library with [Azure OpenAI](https://learn.microsoft.com/azure/ai-services/openai/overview), use the option.RequestOption functions in the `azure` package.
// Choose between authenticating using a TokenCredential or an API Key
428
-
azure.WithTokenCredential(tokenCredential),
429
-
// or azure.WithAPIKey(azureOpenAIAPIKey),
430
-
)
431
-
}
432
-
```
433
-
434
399
## Semantic versioning
435
400
436
401
This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
0 commit comments