pub struct GenerativeModelConfig {
pub model: ModelSpec,
pub tools: Vec<ToolSpec>,
pub system_prompt: String,
pub backend_config: BackendConfig,
}Expand description
Fully resolved driver inputs. Tool schemas advertise capabilities; the caller remains responsible for executing calls and validating their arguments.
Fields§
§model: ModelSpec§tools: Vec<ToolSpec>§system_prompt: String§backend_config: BackendConfigAuto Trait Implementations§
impl Freeze for GenerativeModelConfig
impl RefUnwindSafe for GenerativeModelConfig
impl Send for GenerativeModelConfig
impl Sync for GenerativeModelConfig
impl Unpin for GenerativeModelConfig
impl UnsafeUnpin for GenerativeModelConfig
impl UnwindSafe for GenerativeModelConfig
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