pub struct EntityLinkResolution {
pub canonical: String,
pub aliases: Vec<String>,
pub confidence: f32,
}Expand description
A confirmed entity resolution from an external resolver (LLM).
Used to feed LLM entity resolution results back into the engine so it can create graph edges and update the EntityResolver cache.
Fields§
§canonical: StringThe canonical entity name decided by the resolver.
aliases: Vec<String>All aliases that map to this canonical name.
confidence: f32Confidence in this resolution (0.0 to 1.0).
Trait Implementations§
Source§impl Clone for EntityLinkResolution
impl Clone for EntityLinkResolution
Source§fn clone(&self) -> EntityLinkResolution
fn clone(&self) -> EntityLinkResolution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EntityLinkResolution
impl RefUnwindSafe for EntityLinkResolution
impl Send for EntityLinkResolution
impl Sync for EntityLinkResolution
impl Unpin for EntityLinkResolution
impl UnsafeUnpin for EntityLinkResolution
impl UnwindSafe for EntityLinkResolution
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