pub enum LLMProvider {
OpenAI {
api_key: String,
base_url: Option<String>,
organization: Option<String>,
},
Anthropic {
api_key: String,
base_url: Option<String>,
},
}
Expand description
Supported LLM providers
Variants§
Trait Implementations§
Source§impl Clone for LLMProvider
impl Clone for LLMProvider
Source§fn clone(&self) -> LLMProvider
fn clone(&self) -> LLMProvider
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 moreAuto Trait Implementations§
impl Freeze for LLMProvider
impl RefUnwindSafe for LLMProvider
impl Send for LLMProvider
impl Sync for LLMProvider
impl Unpin for LLMProvider
impl UnwindSafe for LLMProvider
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