Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix transcription test
  • Loading branch information
joseharriaga committed Sep 27, 2024
commit 1ec405443ed4de56a97eef102fd2924771661534
6 changes: 0 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

## 2.0.0-beta.13 (2024-09-27)

### Features Added

### Breaking Changes

- Refactored `ModerationResult` by merging `ModerationCategories` and `ModerationCategoryScores` into individual `ModerationCategory` properties, each with `Flagged` and `Score` properties. ([19ceae4](https://github.com/openai/openai-dotnet/commit/19ceae44172fdc17af1f47aa30edf4a3bddcb9d6))
Expand Down Expand Up @@ -34,10 +32,6 @@
- Renamed `OpenAIFileStatus` to `FileStatus`. ([a330c2e](https://github.com/openai/openai-dotnet/commit/a330c2e703e48179991905e991b0f4186a017198))
- Removed constructors that take string API key and options. ([a330c2e](https://github.com/openai/openai-dotnet/commit/a330c2e703e48179991905e991b0f4186a017198))

### Bugs Fixed

### Other Changes

## 2.0.0-beta.12 (2024-09-20)

### Features Added
Expand Down
3 changes: 2 additions & 1 deletion tests/Audio/TranscriptionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ public async Task TranscriptionFormatsWork(string responseFormat)

Assert.That(segment.Id, Is.EqualTo(i));
Assert.That(segment.EndTime, Is.GreaterThanOrEqualTo(segment.StartTime));
Assert.That(segment.TokenIds, Is.Not.Null.And.Not.Empty);
Assert.That(segment.TokenIds, Is.Not.Null);
Assert.That(segment.TokenIds.Length, Is.GreaterThan(0));

Assert.That(segment.AverageLogProbability, Is.LessThan(-0.001f).Or.GreaterThan(0.001f));
Assert.That(segment.CompressionRatio, Is.LessThan(-0.001f).Or.GreaterThan(0.001f));
Expand Down