pub struct AzureMLSettings {
pub semantic_endpoint: String,
pub code_endpoint: String,
pub semantic_auth_key_env: Option<String>,
pub code_auth_key_env: Option<String>,
pub auth_key_env: Option<String>,
pub timeout_secs: u64,
pub max_retries: u32,
}Expand description
Azure ML provider settings.
Fields§
§semantic_endpoint: StringSemantic embedding endpoint URL
code_endpoint: StringCode embedding endpoint URL
semantic_auth_key_env: Option<String>Environment variable name containing API key for semantic endpoint.
Takes precedence over auth_key_env for semantic requests.
code_auth_key_env: Option<String>Environment variable name containing API key for code endpoint.
If not set, falls back to semantic_auth_key_env or auth_key_env.
auth_key_env: Option<String>Legacy: Environment variable name containing shared API key.
Use semantic_auth_key_env and code_auth_key_env for separate keys.
timeout_secs: u64Request timeout in seconds
max_retries: u32Maximum retry attempts
Trait Implementations§
Source§impl Clone for AzureMLSettings
impl Clone for AzureMLSettings
Source§fn clone(&self) -> AzureMLSettings
fn clone(&self) -> AzureMLSettings
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 AzureMLSettings
impl Debug for AzureMLSettings
Source§impl Default for AzureMLSettings
impl Default for AzureMLSettings
Source§impl<'de> Deserialize<'de> for AzureMLSettingswhere
AzureMLSettings: Default,
impl<'de> Deserialize<'de> for AzureMLSettingswhere
AzureMLSettings: Default,
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 Freeze for AzureMLSettings
impl RefUnwindSafe for AzureMLSettings
impl Send for AzureMLSettings
impl Sync for AzureMLSettings
impl Unpin for AzureMLSettings
impl UnwindSafe for AzureMLSettings
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