pub trait AIProvider: Send + Sync {
// Required methods
fn analyze_content<'life0, 'async_trait>(
&'life0 self,
request: AnalysisRequest,
) -> Pin<Box<dyn Future<Output = Result<MatchResult>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn verify_match<'life0, 'async_trait>(
&'life0 self,
verification: VerificationRequest,
) -> Pin<Box<dyn Future<Output = Result<ConfidenceScore>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
AI provider trait for content analysis and subtitle matching.
This trait defines the interface for AI services that can analyze video and subtitle content to determine optimal matches.