Load an LLM cache file into memory

llm_cache_load(path = NULL, replace = FALSE)

Arguments

path

Optional cache file path. Default: .cache_agrillm/cache.rds in the current working directory.

replace

Logical. If TRUE, clear the current in-memory cache before loading the file. Default: FALSE.

Value

Invisibly returns the number of loaded cache entries.