mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-16 19:48:27 +00:00
Added choosing whom the test situation of the BeyondFacts Lab simulates
This commit is contained in:
6 files changed
+296
-3
No files matched your search
@@ -43,6 +43,13 @@ public partial class BflChat : MSGComponentBase
|
||||
[Parameter]
|
||||
public string? ProviderIssue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a number which changes whenever a detail changes which takes much room in the next request, such as
|
||||
/// whom the step "Test situation" simulates, whose research the prompt carries.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public int DetailsVersion { get; set; }
|
||||
|
||||
[Inject]
|
||||
private BflConversationService ConversationService { get; init; } = null!;
|
||||
|
||||
@@ -70,9 +77,10 @@ public partial class BflChat : MSGComponentBase
|
||||
|
||||
/// <summary>
|
||||
/// Gets a number which changes whenever what the next request carries beside the conversation changed: the
|
||||
/// material, or the guidelines of the organization after a configuration plugin was reloaded.
|
||||
/// material, the guidelines of the organization after a configuration plugin was reloaded, or a detail which takes
|
||||
/// much room, see DetailsVersion.
|
||||
/// </summary>
|
||||
private int ContextVersion => HashCode.Combine(this.materialsVersion, this.SettingsManager.ConfigurationData.BeyondFactsLab.OrganizationRules);
|
||||
private int ContextVersion => HashCode.Combine(this.materialsVersion, this.SettingsManager.ConfigurationData.BeyondFactsLab.OrganizationRules, this.DetailsVersion);
|
||||
|
||||
/// <summary>
|
||||
/// Gets what the chat says before its conversation begins.
|
||||
|
||||
Reference in new issue
Block a user