pub struct AggregatorConfig {
pub model: String,
pub provider: ProviderType,
pub base_url: Option<String>,
pub api_key_env: Option<String>,
pub max_tokens: Option<u64>,
pub auth: Option<String>,
pub azure_scope: Option<String>,
pub azure_credentials: Option<String>,
}Fields§
§model: String§provider: ProviderType§base_url: Option<String>§api_key_env: Option<String>§max_tokens: Option<u64>§auth: Option<String>§azure_scope: Option<String>AAD scope for auth = "azure-ad" (defaults to the Cognitive Services scope).
azure_credentials: Option<String>Azure credential chain selector for auth = "azure-ad": "dev", "prod", or unset.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AggregatorConfig
impl<'de> Deserialize<'de> for AggregatorConfig
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 Forget for AggregatorConfig
impl Freeze for AggregatorConfig
impl Move for AggregatorConfig
impl RefUnwindSafe for AggregatorConfig
impl Send for AggregatorConfigwhere
RawVecInner: Send,
impl Sync for AggregatorConfigwhere
RawVecInner: Sync,
impl Unpin for AggregatorConfig
impl UnsafeUnpin for AggregatorConfig
impl UnwindSafe for AggregatorConfigwhere
RawVecInner: UnwindSafe,
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.