systemprompt_models/profile/judge.rs
1//! Whether closed conversations are scored without anyone asking.
2//!
3//! The judge itself is a services concern; this profile block only decides if
4//! the scheduler queues every closed conversation for scoring. Manual triggers
5//! from the console work regardless, so a staging environment can be scored one
6//! conversation at a time while production scores everything.
7//!
8//! Copyright (c) systemprompt.io — Business Source License 1.1.
9//! See <https://systemprompt.io> for licensing details.
10
11use serde::{Deserialize, Serialize};
12
13#[derive(
14 Debug, Clone, Copy, PartialEq, Eq, Default, Serialize, Deserialize, schemars::JsonSchema,
15)]
16#[serde(deny_unknown_fields)]
17pub struct JudgeProfile {
18 #[serde(default)]
19 pub automatic: bool,
20}