TGLite
API
TContext
TContext.set_cache_limit()
Sets embedding cache limit and clear cache tables.
limit (int) – Number of embeddings to cache.