Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson committed Mar 18, 2024
1 parent 4a22932 commit a78d29b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenAI-DotNet-Tests/TestFixture_07_Audio.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public async Task Test_01_02_Transcription_Json()
Assert.IsNotNull(OpenAIClient.AudioEndpoint);
var transcriptionAudio = Path.GetFullPath("../../../Assets/T3mt39YrlyLoq8laHSdf.mp3");
using var request = new AudioTranscriptionRequest(transcriptionAudio, responseFormat: AudioResponseFormat.Json, temperature: 0.1f, language: "en");
var response = await OpenAIClient.AudioEndpoint.CreateTranscriptionJsonAsync(request);
var response = await OpenAIClient.AudioEndpoint.CreateTranscriptionTextAsync(request);
Assert.IsNotNull(response);
}

Expand Down

0 comments on commit a78d29b

Please sign in to comment.