BotSharp/src/Infrastructure/BotSharp.Abstraction/Realtime/Models/RealtimeModelSettings.cs

14 lines
578 B
C#
Raw Normal View History

2025-03-15 02:06:40 +00:00
namespace BotSharp.Abstraction.Realtime.Models;
public class RealtimeModelSettings
{
public bool InterruptResponse { get; set; } = false;
2025-04-07 04:15:27 +00:00
public string InputAudioFormat { get; set; } = "g711_ulaw";
public string OutputAudioFormat { get; set; } = "g711_ulaw";
2025-03-20 22:54:49 +00:00
public string Voice { get; set; } = "alloy";
2025-03-15 02:08:29 +00:00
public float Temperature { get; set; } = 0.8f;
2025-03-15 02:06:40 +00:00
public int MaxResponseOutputTokens { get; set; } = 512;
2025-03-20 22:54:49 +00:00
public AudioTranscription InputAudioTranscription { get; set; } = new();
2025-03-15 02:06:40 +00:00
public ModelTurnDetection TurnDetection { get; set; } = new();
}