pub struct RerankCandidate {
pub chunk_id: ChunkId,
pub passage_text: String,
}Expand description
A candidate document passed to the reranker.
Fields§
§chunk_id: ChunkId§passage_text: StringBest available text for the passage — typically the loaded snippet.
Trait Implementations§
Source§impl Clone for RerankCandidate
impl Clone for RerankCandidate
Auto Trait Implementations§
impl Freeze for RerankCandidate
impl RefUnwindSafe for RerankCandidate
impl Send for RerankCandidate
impl Sync for RerankCandidate
impl Unpin for RerankCandidate
impl UnsafeUnpin for RerankCandidate
impl UnwindSafe for RerankCandidate
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