-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #182 from dvonthenen/implement-metadata-precorded
Implement Metadata for Live, Missing Fields in Metadata for Prerecorded
- Loading branch information
Showing
3 changed files
with
91 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using Newtonsoft.Json; | ||
using System; | ||
|
||
namespace Deepgram.Models | ||
{ | ||
public class LiveTranscriptionMetaData | ||
{ | ||
/// <summary> | ||
/// Unique identifier for the submitted audio and derived data returned. | ||
/// </summary> | ||
[JsonProperty("request_id")] | ||
public string Id { get; set; } | ||
|
||
/// <summary> | ||
/// Unique identifier for the submitted audio and derived data returned. | ||
/// </summary> | ||
[JsonProperty("model_uuid")] | ||
public string ModelUuid { get; set; } | ||
|
||
/// <summary> | ||
/// Info about the Model | ||
/// </summary> | ||
[JsonProperty("model_info")] | ||
public ModelInfo ModelInfo { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
using Newtonsoft.Json; | ||
|
||
namespace Deepgram.Models | ||
{ | ||
public class ModelInfo | ||
{ | ||
/// <summary> | ||
/// Name of the Model | ||
/// </summary> | ||
[JsonProperty("name")] | ||
public string Name { get; set; } | ||
|
||
/// <summary> | ||
/// Version of the Model | ||
/// </summary> | ||
[JsonProperty("version")] | ||
public string Version { get; set; } | ||
|
||
/// <summary> | ||
/// Architecture of the Model | ||
/// </summary> | ||
[JsonProperty("arch")] | ||
public string Arch { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters