pub struct MiniMaxM2_1;Expand description
MiniMax M2.1 - 229B MoE coding model with 128K output window
Trait Implementations§
Source§impl BedrockModel for MiniMaxM2_1
impl BedrockModel for MiniMaxM2_1
Source§fn bedrock_id(&self) -> &'static str
fn bedrock_id(&self) -> &'static str
The Bedrock model ID Read more
Source§fn default_inference_profile(&self) -> InferenceProfile
fn default_inference_profile(&self) -> InferenceProfile
The default inference profile for this model Read more
Source§impl Clone for MiniMaxM2_1
impl Clone for MiniMaxM2_1
Source§fn clone(&self) -> MiniMaxM2_1
fn clone(&self) -> MiniMaxM2_1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MiniMaxM2_1
impl Debug for MiniMaxM2_1
Source§impl Default for MiniMaxM2_1
impl Default for MiniMaxM2_1
Source§fn default() -> MiniMaxM2_1
fn default() -> MiniMaxM2_1
Returns the “default value” for a type. Read more
Source§impl Model for MiniMaxM2_1
impl Model for MiniMaxM2_1
Source§fn max_context_tokens(&self) -> usize
fn max_context_tokens(&self) -> usize
Maximum input context tokens
Source§fn max_output_tokens(&self) -> usize
fn max_output_tokens(&self) -> usize
Maximum output tokens the model can generate
Source§fn estimate_message_tokens(&self, messages: &[Message]) -> usize
fn estimate_message_tokens(&self, messages: &[Message]) -> usize
Estimate tokens for a conversation Read more
Source§fn estimate_content_block_tokens(&self, block: &ContentBlock) -> usize
fn estimate_content_block_tokens(&self, block: &ContentBlock) -> usize
Estimate tokens for a single content block
impl Copy for MiniMaxM2_1
Auto Trait Implementations§
impl Freeze for MiniMaxM2_1
impl RefUnwindSafe for MiniMaxM2_1
impl Send for MiniMaxM2_1
impl Sync for MiniMaxM2_1
impl Unpin for MiniMaxM2_1
impl UnsafeUnpin for MiniMaxM2_1
impl UnwindSafe for MiniMaxM2_1
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