pub struct RerankCalled {
pub model: String,
pub passages: u64,
pub ranks: u64,
}Expand description
rerank_called: one call to an attached endpoint’s rerank face.
The order the service returned is the answer and is not repeated here; what this line adds is the size of what was asked and of what came back, so a rerank that quietly scored half the passages can be found afterwards. The line states no token count, because the rerank faces this city writes to report none, and a column nothing can fill is a promise to the ledger’s reader that is never kept.
Fields§
§model: StringThe endpoint’s own model id, as the request spelled it.
passages: u64How many passages the call offered to rank.
ranks: u64How many ranks the answer carried.
Trait Implementations§
Source§impl Clone for RerankCalled
impl Clone for RerankCalled
Source§impl Debug for RerankCalled
impl Debug for RerankCalled
Source§impl<'de> Deserialize<'de> for RerankCalled
impl<'de> Deserialize<'de> for RerankCalled
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
impl Eq for RerankCalled
Source§impl PartialEq for RerankCalled
impl PartialEq for RerankCalled
Source§impl Serialize for RerankCalled
impl Serialize for RerankCalled
impl StructuralPartialEq for RerankCalled
Auto Trait Implementations§
impl Freeze for RerankCalled
impl RefUnwindSafe for RerankCalled
impl Send for RerankCalled
impl Sync for RerankCalled
impl Unpin for RerankCalled
impl UnsafeUnpin for RerankCalled
impl UnwindSafe for RerankCalled
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