pub struct ConverseInput {
pub model_id: String,
pub messages: Vec<Message>,
pub system: Vec<SystemContentBlock>,
pub inference_config: Option<InferenceConfiguration>,
pub tool_config: Option<ToolConfiguration>,
pub additional_model_request_fields: Option<Value>,
}Expand description
The canonical input for both converse and converse_stream.
Fields§
§model_id: String§messages: Vec<Message>§system: Vec<SystemContentBlock>§inference_config: Option<InferenceConfiguration>§tool_config: Option<ToolConfiguration>§additional_model_request_fields: Option<Value>Trait Implementations§
Source§impl Default for ConverseInput
impl Default for ConverseInput
Source§fn default() -> ConverseInput
fn default() -> ConverseInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConverseInput
impl RefUnwindSafe for ConverseInput
impl Send for ConverseInput
impl Sync for ConverseInput
impl Unpin for ConverseInput
impl UnsafeUnpin for ConverseInput
impl UnwindSafe for ConverseInput
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