pub struct LLMConfig {
pub provider: String,
pub model: String,
pub api_key: String,
pub temperature: f32,
pub max_tokens: u32,
}Expand description
LLM provider configuration.
Fields§
§provider: String§model: String§api_key: String§temperature: f32§max_tokens: u32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze 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