join

Function

Cascades two caches to achieve multi-level caching.

Prototype

def join(next_cache)

Parameters

Parameter

Data Type

Required/Optional

Description

next_cache

MxRAGCache

Required

Next-level cache, which must be initialized first and cannot be cascaded itself. The next-level cache must be of the MxRAGCache type. A loop cannot be formed during cache cascading, and the maximum cascading depth is 6.