pub struct SemanticMatchConfig {
pub judge_model: String,
pub custom_prompt: Option<String>,
}Expand description
Configuration for LLM-judged semantic matching
Fields§
§judge_model: StringModel to use for judging
custom_prompt: Option<String>Custom prompt for the judge (optional)
Trait Implementations§
Source§impl Clone for SemanticMatchConfig
impl Clone for SemanticMatchConfig
Source§fn clone(&self) -> SemanticMatchConfig
fn clone(&self) -> SemanticMatchConfig
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 SemanticMatchConfig
impl Debug for SemanticMatchConfig
Source§impl Default for SemanticMatchConfig
impl Default for SemanticMatchConfig
Source§impl<'de> Deserialize<'de> for SemanticMatchConfig
impl<'de> Deserialize<'de> for SemanticMatchConfig
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 SemanticMatchConfig
impl RefUnwindSafe for SemanticMatchConfig
impl Send for SemanticMatchConfig
impl Sync for SemanticMatchConfig
impl Unpin for SemanticMatchConfig
impl UnwindSafe for SemanticMatchConfig
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