Stub in framework for new .net Open Jibo cloud
This commit is contained in:
@@ -8,6 +8,8 @@ public sealed class ResponsePlan
|
||||
|
||||
public string? IntentName { get; init; }
|
||||
public string? Topic { get; init; }
|
||||
public string? DeviceId { get; init; }
|
||||
public string? TargetHost { get; init; }
|
||||
public IList<PlanAction> Actions { get; init; } = new List<PlanAction>();
|
||||
|
||||
public FollowUpPolicy FollowUp { get; init; } = FollowUpPolicy.None;
|
||||
@@ -15,4 +17,5 @@ public sealed class ResponsePlan
|
||||
|
||||
public string? DebugRoute { get; init; }
|
||||
public IDictionary<string, object?> Diagnostics { get; init; } = new Dictionary<string, object?>();
|
||||
}
|
||||
public IDictionary<string, object?> ProtocolMetadata { get; init; } = new Dictionary<string, object?>();
|
||||
}
|
||||
|
||||
@@ -9,6 +9,13 @@ public sealed class RobotEvent
|
||||
public string? SessionId { get; init; }
|
||||
public string? Transcript { get; init; }
|
||||
public string? WakePhrase { 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 IDictionary<string, object?> Payload { get; init; } = new Dictionary<string, object?>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,10 +12,17 @@ public sealed class TurnContext
|
||||
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?>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user