pub struct LlmConfig {
pub model: ModelConfig,
pub prompt_template: PromptTemplate,
pub context: ContextConfig,
pub vision: VisionConfig,
pub memory: Option<MemoryConfig>,
pub reasoning_format: ReasoningFormat,
/* private fields */
}Expand description
Configuration of the llm node.
Fields§
§model: ModelConfig§prompt_template: PromptTemplate§context: ContextConfig§vision: VisionConfig§memory: Option<MemoryConfig>§reasoning_format: ReasoningFormatTrait Implementations§
Source§impl<'de> Deserialize<'de> for LlmConfig
impl<'de> Deserialize<'de> for LlmConfig
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 LlmConfig
impl Freeze for LlmConfig
impl Move for LlmConfig
impl RefUnwindSafe for LlmConfig
impl Send for LlmConfig
impl Sync for LlmConfig
impl Unpin for LlmConfig
impl UnsafeUnpin for LlmConfig
impl UnwindSafe for LlmConfig
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