File size: 269 Bytes
b1ce64c
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from dataclasses import dataclass
from models.error_model import ErrorModel

@dataclass
class AISystem:
    error_model: ErrorModel

    def process_error(self, error: Error):
        # Use the AI model to process the error
        self.error_model.process_error(error)