Skip to content

Commit

Permalink
fixed verboseJson encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank-Buss committed Nov 8, 2024
1 parent 843e087 commit 0704ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/OpenAI/Public/Models/AudioTranscriptionQuery.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ extension AudioTranscriptionQuery: MultipartFormDataBodyEncodable {
.string(paramName: "prompt", value: prompt),
.string(paramName: "temperature", value: temperature),
.string(paramName: "language", value: language),
.string(paramName: "response_format", value: responseFormat)
.string(paramName: "response_format", value: responseFormat?.rawValue)
])
return bodyBuilder.build()
}
Expand Down

0 comments on commit 0704ac4

Please sign in to comment.