mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-12 03:07:21 +00:00
Added an introduction and an onboarding chat to the BeyondFacts Lab (#1178)
This commit is contained in:
1 parent
79e0c80031
commit
22d94eb8fd
35 files changed
+1377
-361
No files matched your search
@@ -24,6 +24,19 @@ public sealed class BflModelRequirementsTests
|
||||
Assert.That(BflModelRequirements.HasEnoughContext(ContextWindow.Of(defaultTokens)), Is.EqualTo(expected));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TheOnboardingRunsWithASmallWindow()
|
||||
{
|
||||
var smallWindow = ContextWindow.Of(8_192);
|
||||
|
||||
using (Assert.EnterMultipleScope())
|
||||
{
|
||||
Assert.That(BflModelRequirements.HasEnoughContext(BflOnboardingThreadLocation.INSTANCE, smallWindow), Is.True, "The onboarding leaves out the guide.");
|
||||
Assert.That(BflModelRequirements.HasEnoughContext(new BflStepThreadLocation(Guid.NewGuid(), BflStep.FRAMEWORK), smallWindow), Is.False);
|
||||
Assert.That(BflModelRequirements.HasEnoughContext(new BflStepThreadLocation(Guid.NewGuid(), BflStep.FRAMEWORK), ContextWindow.Of(BflModelRequirements.MINIMUM_CONTEXT_TOKENS)), Is.True);
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AWindowWhichOnlyAnOperatorCouldRaiseIsNotEnough()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user