pub struct AnswerPolicy {
pub min_sources: usize,
pub high_confidence_bps: u16,
}Expand description
Host-owned answer release policy. Model confidence cannot relax it.
Fields§
§min_sources: usizeMinimum distinct provenance groups per claim, from one to four. Shared locators or identical complete document text merge groups transitively. Independence beyond this conservative grouping is the trusted ingestion/reviewer’s responsibility.
high_confidence_bps: u16Threshold for reporting a confident blocked claim, from zero to 10000 inclusive.
Trait Implementations§
Source§impl Clone for AnswerPolicy
impl Clone for AnswerPolicy
Source§impl Debug for AnswerPolicy
impl Debug for AnswerPolicy
Source§impl Default for AnswerPolicy
impl Default for AnswerPolicy
Source§impl<'de> Deserialize<'de> for AnswerPolicywhere
AnswerPolicy: Default,
impl<'de> Deserialize<'de> for AnswerPolicywhere
AnswerPolicy: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AnswerPolicy
Source§impl PartialEq for AnswerPolicy
impl PartialEq for AnswerPolicy
Source§impl Serialize for AnswerPolicy
impl Serialize for AnswerPolicy
impl StructuralPartialEq for AnswerPolicy
Auto Trait Implementations§
impl Forget for AnswerPolicy
impl Freeze for AnswerPolicy
impl Move for AnswerPolicy
impl RefUnwindSafe for AnswerPolicy
impl Send for AnswerPolicy
impl Sync for AnswerPolicy
impl Unpin for AnswerPolicy
impl UnsafeUnpin for AnswerPolicy
impl UnwindSafe for AnswerPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more