WebSocket/Speak.cs

deepgram-dotnet-sdk · Deepgram/Models/Agent/v2/WebSocket/Speak.cs · csharp · MIT
voice, Voice / Speech

Defines Deepgram WebSocket TTS configuration with provider and endpoint options.

// 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 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.Agent.v2.WebSocket;

public record Speak
{
    /// <summary>
    /// The provider configuration for the TTS.
    /// For backward compatibility, this can be a single provider object.
    /// For new array format, use the SpeakProviders property instead.
    /// </summary>
    [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
    [JsonPropertyName("provider")]
    public dyna

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

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

Get a free API key