REST/Alternative.cs

deepgram-dotnet-sdk · Deepgram/Models/Listen/v1/REST/Alternative.cs · csharp · MIT
voice, Voice / Speech

Data model representing a transcript alternative in the Deepgram .NET SDK, with confidence and entities.

// Source: https://github.com/deepgram/deepgram-dotnet-sdk | License: MIT | Copyright 2021 Deepgram Devs
// Provided via justclaw.it.com; keep this notice with the code.
// Copyright 2021-2024 Deepgram .NET SDK contributors. All Rights Reserved.
// Use of this source code is governed by a MIT license that can be found in the LICENSE file.
// SPDX-License-Identifier: MIT

namespace Deepgram.Models.Listen.v1.REST;

public record Alternative
{
    /// <summary>
    /// Value between 0 and 1 indicating the model's relative confidence in this transcript.
    /// </summary>
    [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
	[JsonPropertyName("confidence")]
    public double? Confidence { get; set; }

    /// <summary>
    /// ReadOnlyList of <see cref="Entity"/> 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key