pub struct EntityMergeGroup {
pub canonical: String,
pub aliases: Vec<String>,
pub confidence: f32,
}Expand description
A group of entity references that the LLM determined refer to the same thing.
Fields§
§canonical: StringThe canonical name for this entity.
aliases: Vec<String>All alternative names that map to this entity.
confidence: f32How confident the LLM is in this grouping (0.0 to 1.0).
Trait Implementations§
Source§impl Clone for EntityMergeGroup
impl Clone for EntityMergeGroup
Source§fn clone(&self) -> EntityMergeGroup
fn clone(&self) -> EntityMergeGroup
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 moreSource§impl Debug for EntityMergeGroup
impl Debug for EntityMergeGroup
Source§impl<'de> Deserialize<'de> for EntityMergeGroup
impl<'de> Deserialize<'de> for EntityMergeGroup
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
Source§impl PartialEq for EntityMergeGroup
impl PartialEq for EntityMergeGroup
Source§fn eq(&self, other: &EntityMergeGroup) -> bool
fn eq(&self, other: &EntityMergeGroup) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EntityMergeGroup
impl Serialize for EntityMergeGroup
impl StructuralPartialEq for EntityMergeGroup
Auto Trait Implementations§
impl Freeze for EntityMergeGroup
impl RefUnwindSafe for EntityMergeGroup
impl Send for EntityMergeGroup
impl Sync for EntityMergeGroup
impl Unpin for EntityMergeGroup
impl UnsafeUnpin for EntityMergeGroup
impl UnwindSafe for EntityMergeGroup
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