pub struct RagRetrievalConfigRanking {
pub llm_ranker: Option<RagRetrievalConfigRankingLlmRanker>,
pub rank_service: Option<RagRetrievalConfigRankingRankService>,
}Expand description
RAG Ranking 配置。
Fields§
§llm_ranker: Option<RagRetrievalConfigRankingLlmRanker>§rank_service: Option<RagRetrievalConfigRankingRankService>Trait Implementations§
Source§impl Clone for RagRetrievalConfigRanking
impl Clone for RagRetrievalConfigRanking
Source§fn clone(&self) -> RagRetrievalConfigRanking
fn clone(&self) -> RagRetrievalConfigRanking
Returns a duplicate of the value. Read more
1.0.0 · 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 RagRetrievalConfigRanking
impl Debug for RagRetrievalConfigRanking
Source§impl Default for RagRetrievalConfigRanking
impl Default for RagRetrievalConfigRanking
Source§fn default() -> RagRetrievalConfigRanking
fn default() -> RagRetrievalConfigRanking
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RagRetrievalConfigRanking
impl<'de> Deserialize<'de> for RagRetrievalConfigRanking
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
Auto Trait Implementations§
impl Freeze for RagRetrievalConfigRanking
impl RefUnwindSafe for RagRetrievalConfigRanking
impl Send for RagRetrievalConfigRanking
impl Sync for RagRetrievalConfigRanking
impl Unpin for RagRetrievalConfigRanking
impl UnsafeUnpin for RagRetrievalConfigRanking
impl UnwindSafe for RagRetrievalConfigRanking
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