Azure OpenAI API version 2023-05-15 (#316)

* chore(config.go): update Azure API version to 2023-05-15 to use the latest version available

* chore(api_internal_test.go): update Azure API version to 2023-05-15 to match the latest version
This commit is contained in:
Takahiro Ikeuchi
2023-05-20 04:04:16 +09:00
committed by GitHub
parent 21eef5bc8d
commit b62a325b0a
2 changed files with 3 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ func DefaultAzureConfig(apiKey, baseURL string) ClientConfig {
BaseURL: baseURL,
OrgID: "",
APIType: APITypeAzure,
APIVersion: "2023-03-15-preview",
APIVersion: "2023-05-15",
AzureModelMapperFunc: func(model string) string {
return regexp.MustCompile(`[.:]`).ReplaceAllString(model, "")
},