pub enum GroundingResult {
Verified {
evidence: Vec<Evidence>,
confidence: f32,
},
Partial {
supported: Vec<String>,
unsupported: Vec<String>,
suggestions: Vec<String>,
},
Ungrounded {
claim: String,
suggestions: Vec<String>,
},
}Expand description
Result of grounding a claim against the code graph.
Variants§
Verified
Claim fully supported by graph data.
Fields
Partial
Claim partially supported — some references found, others not.
Fields
Ungrounded
No graph backing — potential hallucination.
Trait Implementations§
Source§impl Clone for GroundingResult
impl Clone for GroundingResult
Source§fn clone(&self) -> GroundingResult
fn clone(&self) -> GroundingResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GroundingResult
impl RefUnwindSafe for GroundingResult
impl Send for GroundingResult
impl Sync for GroundingResult
impl Unpin for GroundingResult
impl UnsafeUnpin for GroundingResult
impl UnwindSafe for GroundingResult
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