Struct llmvm_outsource_lib::OutsourceConfig
source · pub struct OutsourceConfig {
pub openai_api_key: Option<String>,
pub huggingface_api_key: Option<String>,
pub ollama_endpoint: Option<String>,
pub openai_endpoint: Option<String>,
}
Expand description
Configuration structure for the backend.
Fields§
§openai_api_key: Option<String>
§huggingface_api_key: Option<String>
§ollama_endpoint: Option<String>
§openai_endpoint: Option<String>
Trait Implementations§
source§impl ConfigExampleSnippet for OutsourceConfig
impl ConfigExampleSnippet for OutsourceConfig
source§fn config_example_snippet() -> String
fn config_example_snippet() -> String
Returns the configuration example snippet to be used
in new configuration files.
source§impl<'de> Deserialize<'de> for OutsourceConfig
impl<'de> Deserialize<'de> for OutsourceConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for OutsourceConfig
impl Send for OutsourceConfig
impl Sync for OutsourceConfig
impl Unpin for OutsourceConfig
impl UnwindSafe for OutsourceConfig
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