MCPcopy
hub / github.com/vibrantlabsai/ragas / get

Method get

src/ragas/cache.py:24–33  ·  view source on GitHub ↗

Retrieve a value from the cache by key. Args: key: The key to look up in the cache. Returns: The cached value associated with the key.

(self, key: str)

Source from the content-addressed store, hash-verified

22
23 @abstractmethod
24 def get(self, key: str) -> Any:
25 """Retrieve a value from the cache by key.
26
27 Args:
28 key: The key to look up in the cache.
29
30 Returns:
31 The cached value associated with the key.
32 """
33 pass
34
35 @abstractmethod
36 def set(self, key: str, value) -> None:

Callers 15

separate_metrics_by_typeFunction · 0.45
get_debug_modeFunction · 0.45
get_or_initFunction · 0.45
get_required_columns_v1Function · 0.45
getMethod · 0.45
_make_pydantic_picklableFunction · 0.45
async_wrapperFunction · 0.45
sync_wrapperFunction · 0.45
get_row_valueMethod · 0.45
parse_run_tracesFunction · 0.45

Calls

no outgoing calls

Tested by 15

from_listMethod · 0.36
test_debug_tracking_flagFunction · 0.36
test_base_eventFunction · 0.36
test_evaluation_eventFunction · 0.36
async_createMethod · 0.36
sync_createMethod · 0.36
__init__Method · 0.36