pub enum LLMModel {
Anthropic(AnthropicModel),
Gemini(GeminiModel),
OpenAI(OpenAIModel),
Custom(String),
}Variants§
Trait Implementations§
Source§impl ContextAware for LLMModel
impl ContextAware for LLMModel
Source§fn context_info(&self) -> ModelContextInfo
fn context_info(&self) -> ModelContextInfo
Returns context information for the model
Source§fn model_name(&self) -> String
fn model_name(&self) -> String
Returns the display name of the model
impl StructuralPartialEq for LLMModel
Auto Trait Implementations§
impl Freeze for LLMModel
impl RefUnwindSafe for LLMModel
impl Send for LLMModel
impl Sync for LLMModel
impl Unpin for LLMModel
impl UnwindSafe for LLMModel
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