mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-18 10:08:27 +00:00
Added simulated participants to the BeyondFacts Lab (#1208)
This commit is contained in:
1 parent
92d0ff68f4
commit
ef059ffd15
46 files changed
+1871
-71
No files matched your search
+8
@@ -23,6 +23,14 @@ public partial class BeyondFactsLabAssistant
|
||||
/// </summary>
|
||||
private int ActiveStepIndex => (int)this.activeStep;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a number which changes whenever the person chooses others to simulate in the step "Test situation", whose
|
||||
/// research the prompt of its conversation carries, so that the conversation counts its tokens anew.
|
||||
/// </summary>
|
||||
private int ChatDetailsVersion => this.activeStep is BflStep.TEST_SITUATION && this.forms.GetValueOrDefault(BflStep.TEST_SITUATION)?.Simulation is { } simulation
|
||||
? HashCode.Combine(simulation.Mode, string.Join('\n', simulation.People))
|
||||
: 0;
|
||||
|
||||
/// <summary>
|
||||
/// Shows a preparation with its forms, at the step the person looked at last.
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user