mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-16 19:28:27 +00:00
Added the research on individual participants to the BeyondFacts Lab (#1207)
This commit is contained in:
1 parent
3ca4b3878b
commit
92d0ff68f4
69 files changed
+3869
-186
No files matched your search
@@ -0,0 +1,21 @@
|
||||
namespace AIStudio.Assistants.BeyondFactsLab;
|
||||
|
||||
/// <summary>
|
||||
/// The research on one person of a preparation of the BeyondFacts Lab.
|
||||
/// </summary>
|
||||
/// <param name="ProjectId">The ID of the preparation.</param>
|
||||
/// <param name="PersonId">The ID of the person, see BflPersonId.</param>
|
||||
public sealed record BflPersonLocation(Guid ProjectId, Guid PersonId)
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the research on a person by the name of the person.
|
||||
/// </summary>
|
||||
/// <param name="projectId">The ID of the preparation.</param>
|
||||
/// <param name="name">The name of the person.</param>
|
||||
public static BflPersonLocation Of(Guid projectId, string name) => new(projectId, BflPersonId.Of(name));
|
||||
|
||||
/// <summary>
|
||||
/// Gets the key under which the research registers as a running session, beside the research on the topics.
|
||||
/// </summary>
|
||||
public string Key => $"{this.ProjectId:D}/research/participants/{this.PersonId:D}";
|
||||
}
|
||||
Reference in new issue
Block a user