Skip to content

Commit

Permalink
Merge pull request #59 from edgett/issue-58
Browse files Browse the repository at this point in the history
Fix Alternative model: Include the ParagraphGroup as an object
  • Loading branch information
briancbarrow authored Jan 17, 2023
2 parents a20c1ac + 7792848 commit 1f43196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Deepgram/Transcription/Alternative.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ public class Alternative
public Words[] Words { get; set; }

/// <summary>
/// Array of Paragraph objects.
/// <see cref="ParagraphGroup"/> containing /n seperated transcript and <see cref="Paragraph"/> objects.
/// </summary>
/// <remark>Only used when the paragraph feature is enabled on the request</remark>
[JsonProperty("paragraphs")]
public ParagraphGroup[] Paragraphs { get; set; }
public ParagraphGroup Paragraphs { get; set; }

/// <summary>
/// Array of Summary objects.
Expand Down

0 comments on commit 1f43196

Please sign in to comment.