THE DECISION MODEL DEMOOpenRouter API ↗
← All demos
DECISION WORKFLOW

Content review.

Compare a post with simple community rules and suggest a human review priority.

State

Editable sample
One live request per click94 / 8000

Questions

Sent together
NOUL
Possible Violation

Does the post itself potentially violate a community rule?

CHOICE
Category

Which category best describes the post itself?

SCORE
Severity

How much attention might this post need from a moderator?

Decision output

Ready when you are

Evaluate the state to see the model’s answers, probabilities, and a demo recommendation here.

View C# example
using System.ComponentModel;
using DecisionsDotNet;

// Decision sets are experimental: add <NoWarn>$(NoWarn);DECISIONS002</NoWarn> to your project.
using var client = OpenRouterDecisionsClient.FromEnvironment();
var model = client.ForModel("typesafe/jev-1.14");

var post = DecisionsValue.FromObject(new
{
    post = "You've posted the same promotional link in every thread today. Please stop spamming the forum.",
    community_rules = new[] { "No repeated unsolicited promotions or links.", "No insults, threats, or targeted harassment." }
});

var review = await model.DecideAsync<ContentReview>(post);

// A verdict has its own path for uncertainty and refusals.
var action = review.PossibleViolation.Outcome switch
{
    VerdictOutcome.Yes when review.Severity.Score >= 1.5 => "Priority human review",
    VerdictOutcome.No => "Low review priority",
    _ => "Human review suggested"
};
Console.WriteLine($"{action} ({review.Category.Value}, violation {review.PossibleViolation.Probability:P0})");

public sealed class ContentReview
{
    [Noul("Does the post itself potentially violate a community rule?", Id = "possible_violation",
        UnsureMin = 0.4, UnsureMax = 0.7)]
    public DecisionVerdict PossibleViolation { get; init; } = null!;

    [Choice("Which category best describes the post itself?", Id = "category")]
    public DecisionChoice<ContentCategory> Category { get; init; } = null!;

    [Score("How much attention might this post need from a moderator?", Id = "severity")]
    public DecisionScore<ModerationSeverity> Severity { get; init; } = null!;
}

public enum ContentCategory
{
    [Description("Repeated unsolicited promotion or links")] Spam,
    [Description("Insults, threats, or targeted abuse")] Harassment,
    [Description("Ordinary discussion or criticism")] Ordinary,
    [Description("Does not clearly fit the other categories")] Other
}

public enum ModerationSeverity { Routine, NeedsReview, UrgentHumanReview }