Skip to content

Commit

Permalink
Merge pull request #56 from deepgram/sentiment-threshold-update
Browse files Browse the repository at this point in the history
sentiment threshold option name update
  • Loading branch information
briancbarrow authored Dec 13, 2022
2 parents 6243cfb + ad6cbac commit 01e0a03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Deepgram/Transcription/PrerecordedTranscriptionOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public class PrerecordedTranscriptionOptions
/// Indicates the confidence requirement for non-neutral sentiment.
/// Setting this variable turns sentiment analysis on.
/// </summary>
[JsonProperty("sent_thresh")]
[JsonProperty("sentiment_threshold")]
public Nullable<decimal> SentimentThreshold { get; set; } = null;
}
}
2 changes: 1 addition & 1 deletion Deepgram/Usage/GetUsageSummaryOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public class GetUsageSummaryOptions
/// <summary>
/// Limits results to requests that include the sentiment threshold feature.
/// </summary>
[JsonProperty("sent_thresh")]
[JsonProperty("sentiment_threshold")]
public Nullable<bool> SentimentThreshold { get; set; } = null;

/// <summary>
Expand Down

0 comments on commit 01e0a03

Please sign in to comment.