pub struct LlmSchemaConfig {
pub enabled: bool,
pub provider: String,
pub model: String,
pub max_vendor_enrichments: usize,
}Expand description
LLM enrichment configuration.
Controls AI-augmented metadata enrichment using LLM providers. When enabled, vendor names, transaction descriptions, and anomaly explanations are enriched using the configured provider (mock by default).
Fields§
§enabled: boolWhether LLM enrichment is enabled.
provider: StringProvider type: “mock”, “openai”, “anthropic”, “custom”.
model: StringModel name/ID for the provider.
max_vendor_enrichments: usizeMaximum number of vendor names to enrich per run.
Trait Implementations§
Source§impl Clone for LlmSchemaConfig
impl Clone for LlmSchemaConfig
Source§fn clone(&self) -> LlmSchemaConfig
fn clone(&self) -> LlmSchemaConfig
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 LlmSchemaConfig
impl Debug for LlmSchemaConfig
Source§impl Default for LlmSchemaConfig
impl Default for LlmSchemaConfig
Source§impl<'de> Deserialize<'de> for LlmSchemaConfig
impl<'de> Deserialize<'de> for LlmSchemaConfig
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 LlmSchemaConfig
impl RefUnwindSafe for LlmSchemaConfig
impl Send for LlmSchemaConfig
impl Sync for LlmSchemaConfig
impl Unpin for LlmSchemaConfig
impl UnwindSafe for LlmSchemaConfig
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