pub struct EmbeddedEntity {
pub entity: ParsedEntity,
pub vector: Vec<f32>,
}Expand description
An entity that has been embedded and is ready for dual-write ingestion.
Produced by Stage 4 (embed) and consumed by Stage 5 (ingest).
Fields§
§entity: ParsedEntityThe original parsed entity with all metadata.
vector: Vec<f32>High-dimensional vector produced by the embedding model.
Trait Implementations§
Source§impl Clone for EmbeddedEntity
impl Clone for EmbeddedEntity
Source§impl Debug for EmbeddedEntity
impl Debug for EmbeddedEntity
Source§impl From<&EmbeddedEntity> for ResolutionEntity
impl From<&EmbeddedEntity> for ResolutionEntity
Source§fn from(ee: &EmbeddedEntity) -> Self
fn from(ee: &EmbeddedEntity) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for EmbeddedEntity
impl Freeze for EmbeddedEntity
impl Move for EmbeddedEntity
impl RefUnwindSafe for EmbeddedEntity
impl Send for EmbeddedEntity
impl Sync for EmbeddedEntity
impl Unpin for EmbeddedEntity
impl UnsafeUnpin for EmbeddedEntity
impl UnwindSafe for EmbeddedEntity
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request