pub struct ExtractorConfig {
pub model: ModelConfig,
pub query: Selector,
pub parameters: Vec<ParamConfig>,
pub instruction: Option<Template>,
pub reasoning_mode: ReasoningMode,
pub memory: Option<MemoryConfig>,
pub vision: VisionConfig,
}Expand description
Configuration of the parameter-extractor node.
Fields§
§model: ModelConfig§query: Selector§parameters: Vec<ParamConfig>§instruction: Option<Template>§reasoning_mode: ReasoningMode§memory: Option<MemoryConfig>§vision: VisionConfigTrait Implementations§
Source§impl Clone for ExtractorConfig
impl Clone for ExtractorConfig
Source§impl Debug for ExtractorConfig
impl Debug for ExtractorConfig
Source§impl<'de> Deserialize<'de> for ExtractorConfig
impl<'de> Deserialize<'de> for ExtractorConfig
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 Forget for ExtractorConfig
impl Freeze for ExtractorConfigwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
PhantomData<FallbackModel>: Freeze,
*const ArcInner<[Arc<str>]> is !null: Freeze,
PhantomData<ArcInner<[Arc<str>]>>: Freeze,
PhantomData<ParamConfig>: Freeze,
PhantomData<Part>: Freeze,
impl Move for ExtractorConfig
impl RefUnwindSafe for ExtractorConfig
impl Send for ExtractorConfig
impl Sync for ExtractorConfig
impl Unpin for ExtractorConfig
impl UnsafeUnpin for ExtractorConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
PhantomData<FallbackModel>: UnsafeUnpin,
*const ArcInner<[Arc<str>]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[Arc<str>]>>: UnsafeUnpin,
PhantomData<ParamConfig>: UnsafeUnpin,
PhantomData<Part>: UnsafeUnpin,
impl UnwindSafe for ExtractorConfig
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