| | | 1 | | namespace Intentum.Analytics.Models; |
| | | 2 | | |
| | | 3 | | /// <summary> |
| | | 4 | | /// A time-based snapshot of the intent graph: nodes and edges within a time window. |
| | | 5 | | /// Used for dashboard visualization and historical analysis. |
| | | 6 | | /// </summary> |
| | | 7 | | /// <param name="EntityId">Entity identifier (e.g. userId, sessionId).</param> |
| | | 8 | | /// <param name="WindowStart">Start of the snapshot window.</param> |
| | | 9 | | /// <param name="WindowEnd">End of the snapshot window.</param> |
| | | 10 | | /// <param name="Nodes">Intent nodes in this snapshot.</param> |
| | | 11 | | /// <param name="Edges">Transitions between nodes in this snapshot.</param> |
| | | 12 | | /// <param name="SnapshotAt">When this snapshot was taken.</param> |
| | 1 | 13 | | public sealed record IntentGraphSnapshot( |
| | 1 | 14 | | string EntityId, |
| | 1 | 15 | | DateTimeOffset WindowStart, |
| | 1 | 16 | | DateTimeOffset WindowEnd, |
| | 3 | 17 | | IReadOnlyList<IntentGraphNode> Nodes, |
| | 3 | 18 | | IReadOnlyList<IntentGraphEdge> Edges, |
| | 1 | 19 | | DateTimeOffset SnapshotAt); |