planting runtime seeds

This commit is contained in:
Jacob Dubin
2026-03-23 07:51:32 -05:00
parent 8381b401a7
commit 34178c71f1
38 changed files with 330 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
namespace Jibo.Runtime.Abstractions;
public sealed class ConversationSession
{
public string SessionId { get; init; } = Guid.NewGuid().ToString("N");
public DateTimeOffset StartedUtc { get; init; } = DateTimeOffset.UtcNow;
public DateTimeOffset LastActivityUtc { get; set; } = DateTimeOffset.UtcNow;
public string? ActiveTopic { get; set; }
public string? LastIntent { get; set; }
public IDictionary<string, object?> Slots { get; } = new Dictionary<string, object?>();
public DateTimeOffset? FollowUpExpiresUtc { get; set; }
public bool FollowUpOpen => FollowUpExpiresUtc.HasValue && FollowUpExpiresUtc > DateTimeOffset.UtcNow;
}