File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed
ads/opctl/operator/lowcode/anomaly Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ You have various options when installing ADS.
32
32
To use the AI Forecast Operator, install the "forecast" dependencies using the following command:
33
33
34
34
``` bash
35
- python3 -m pip install ' oracle_ads[forecast]'
35
+ python3 -m pip install ' oracle_ads[forecast]>=2.9.0 '
36
36
```
37
37
38
38
### Installing extras libraries
Original file line number Diff line number Diff line change @@ -36,11 +36,17 @@ def operate(operator_config: AnomalyOperatorConfig) -> None:
36
36
operator_config .spec .model = "autots"
37
37
operator_config .spec .model_kwargs = dict ()
38
38
datasets = AnomalyDatasets (operator_config .spec )
39
- AnomalyOperatorModelFactory .get_model (
40
- operator_config , datasets
41
- ).generate_report ()
39
+ try :
40
+ AnomalyOperatorModelFactory .get_model (
41
+ operator_config , datasets
42
+ ).generate_report ()
43
+ except Exception as e2 :
44
+ logger .debug (
45
+ f"Failed to backup forecast with error { e2 .args } . Raising original error."
46
+ )
47
+ raise e
42
48
else :
43
- raise
49
+ raise e
44
50
45
51
46
52
def verify (spec : Dict , ** kwargs : Dict ) -> bool :
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ forecast = [
181
181
anomaly = [
182
182
" oracle_ads[opctl]" ,
183
183
" autots" ,
184
- " oracle-automlx[anomaly ]==23.2.3" ,
184
+ " oracle-automlx[forecasting ]==23.2.3" ,
185
185
" oracledb" ,
186
186
" datapane" ,
187
187
]
You can’t perform that action at this time.
0 commit comments