mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-11 07:07:22 +00:00
Added confirmed work states to the BeyondFacts Lab (#1182)
This commit is contained in:
1 parent
6d0052ecdf
commit
a9579dd282
39 files changed
+3160
-16
No files matched your search
@@ -0,0 +1,33 @@
|
||||
namespace AIStudio.Assistants.BeyondFactsLab;
|
||||
|
||||
/// <summary>
|
||||
/// A work state the person confirmed, which the later steps build on.
|
||||
/// </summary>
|
||||
public sealed class BflConfirmedWorkState
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the revision of the work state, which grows with every confirmation of the step.
|
||||
/// </summary>
|
||||
public int Revision { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets when the person confirmed the work state.
|
||||
/// </summary>
|
||||
public DateTimeOffset ConfirmedAtUtc { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the texts of the work state, by the keys of their sections. An empty section is left out.
|
||||
/// </summary>
|
||||
public Dictionary<string, string> Sections { get; set; } = new(StringComparer.Ordinal);
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the revisions of the confirmed work states of the earlier steps at the time of the confirmation.
|
||||
/// An earlier step without a confirmed work state is missing.
|
||||
/// </summary>
|
||||
public Dictionary<BflStep, int> UpstreamRevisions { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the fingerprint of the form of the step at the time of the confirmation.
|
||||
/// </summary>
|
||||
public string DetailsFingerprint { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in new issue
Block a user