mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-07 03:29:40 +00:00
State the context window where a vendor documents one
This commit is contained in:
20 files changed
+562
-314
No files matched your search
@@ -186,6 +186,22 @@ public sealed class ModelRuleBuilder(string patternText, ModelRuleKind ruleKind,
|
||||
return this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Takes back a context window this rule inherited, because nobody states one for this variant.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// A variant can already hand back a capability its family granted; a number has to be handed
|
||||
/// back too. Without this, a generation whose window nobody documents would quietly carry the
|
||||
/// number of the generation it inherits from -- and the app would then show a person that
|
||||
/// number as a fact about their model.
|
||||
/// </remarks>
|
||||
/// <returns>The rule, to go on stating.</returns>
|
||||
public ModelRuleBuilder WithoutContextWindow()
|
||||
{
|
||||
this.context = Models.ContextWindow.UNKNOWN;
|
||||
return this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Which tokenizer counts this model's tokens.
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user