mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/JiboExperiments.git
synced 2026-06-16 07:56:20 +00:00
29 lines
1.1 KiB
C#
29 lines
1.1 KiB
C#
namespace Jibo.Runtime.Abstractions;
|
|
|
|
public sealed class TurnContext
|
|
{
|
|
public string TurnId { get; init; } = Guid.NewGuid().ToString("N");
|
|
public string SessionId { get; init; } = string.Empty;
|
|
public DateTimeOffset TimestampUtc { get; init; } = DateTimeOffset.UtcNow;
|
|
|
|
public TurnInputMode InputMode { get; init; }
|
|
public TurnSourceKind SourceKind { get; init; }
|
|
|
|
public string? WakePhrase { get; init; }
|
|
public string? RawTranscript { get; init; }
|
|
public string? NormalizedTranscript { get; init; }
|
|
public string? DeviceId { get; init; }
|
|
public string? HostName { get; init; }
|
|
public string? RequestId { get; init; }
|
|
public string? ProtocolService { get; init; }
|
|
public string? ProtocolOperation { get; init; }
|
|
public string? FirmwareVersion { get; init; }
|
|
public string? ApplicationVersion { get; init; }
|
|
|
|
public string? Locale { get; init; } = "en-US";
|
|
public string? TimeZone { get; init; }
|
|
|
|
public bool IsFollowUpEligible { get; init; }
|
|
public IDictionary<string, object?> Attributes { get; init; } = new Dictionary<string, object?>();
|
|
}
|