backend phase 14 & frontend phase 7
This commit is contained in:
@@ -20,6 +20,22 @@ public sealed class SeamOptions
|
||||
public BnplOptions Bnpl { get; set; } = new();
|
||||
public CurrencyOptions Currency { get; set; } = new();
|
||||
public BankTransferOptions BankTransfer { get; set; } = new();
|
||||
public ReviewModerationOptions ReviewModeration { get; set; } = new();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Tunes the mock <c>IReviewModerationService</c> (b14 AI review pre-screen). By default clean text returns a
|
||||
/// human-review <c>Flag</c> (keeping the publish gate on); a banned-word hit returns <c>Reject</c>. Set
|
||||
/// <see cref="AutoApproveClean"/> to have clean text auto-<c>Approve</c> (auto-publish). The real text
|
||||
/// classifier / LLM endpoint ignores these knobs.
|
||||
/// </summary>
|
||||
public sealed class ReviewModerationOptions
|
||||
{
|
||||
/// <summary>When true, clean text is auto-approved (auto-published) instead of flagged for human review.</summary>
|
||||
public bool AutoApproveClean { get; set; }
|
||||
|
||||
/// <summary>Case-insensitive substrings that mark a review for rejection.</summary>
|
||||
public List<string> BannedWords { get; set; } = ["scam", "fraud", "کلاهبردار"];
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user