We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 993f1db commit 9000691Copy full SHA for 9000691
ads/aqua/config/config.py
@@ -3,19 +3,15 @@
3
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
4
5
6
-from datetime import datetime, timedelta
7
from typing import Optional
8
9
-from cachetools import TTLCache, cached
10
-
11
from ads.aqua.common.entities import ContainerSpec
12
from ads.aqua.common.utils import get_container_config
13
from ads.aqua.config.evaluation.evaluation_service_config import EvaluationServiceConfig
14
15
DEFAULT_EVALUATION_CONTAINER = "odsc-llm-evaluate"
16
17
18
-@cached(cache=TTLCache(maxsize=1, ttl=timedelta(hours=1), timer=datetime.now))
19
def evaluation_service_config(
20
container: Optional[str] = DEFAULT_EVALUATION_CONTAINER,
21
) -> EvaluationServiceConfig:
0 commit comments