pub struct LlmDraft {
pub summary: String,
pub target: String,
pub guidance: String,
pub evidence: Vec<String>,
pub confidence: f64,
}Expand description
One DISCOVER draft as returned by the model. Unknown fields are dropped by serde; the engine further validates (cite-check, caps, target class, grounding, and independent verification before it is ever stored).
Fields§
§summary: String§target: String§guidance: String§evidence: Vec<String>§confidence: f64The model’s self-reported confidence 0.0–1.0 that this finding is both correct and materially useful (§5.1). Missing/garbled → 0.0 (rejected by the confidence floor), a safe default.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LlmDraft
impl<'de> Deserialize<'de> for LlmDraft
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
Auto Trait Implementations§
impl Freeze for LlmDraft
impl RefUnwindSafe for LlmDraft
impl Send for LlmDraft
impl Sync for LlmDraft
impl Unpin for LlmDraft
impl UnsafeUnpin for LlmDraft
impl UnwindSafe for LlmDraft
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