planting runtime seeds
This commit is contained in:
14
OpenJibo/src/Jibo.Runtime.Abstractions/RobotEvent.cs
Normal file
14
OpenJibo/src/Jibo.Runtime.Abstractions/RobotEvent.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace Jibo.Runtime.Abstractions;
|
||||
|
||||
public sealed class RobotEvent
|
||||
{
|
||||
public string EventId { get; init; } = Guid.NewGuid().ToString("N");
|
||||
public DateTimeOffset TimestampUtc { get; init; } = DateTimeOffset.UtcNow;
|
||||
|
||||
public string EventType { get; init; } = string.Empty;
|
||||
public string? SessionId { get; init; }
|
||||
public string? Transcript { get; init; }
|
||||
public string? WakePhrase { get; init; }
|
||||
|
||||
public IDictionary<string, object?> Payload { get; init; } = new Dictionary<string, object?>();
|
||||
}
|
||||
Reference in New Issue
Block a user