Factory
Factory implementation for creating FilePromptCache
instances based on the provided configuration.
This class inherits from PromptCache.Factory.Named
and is used to build a file-based cache for storing prompt execution results. The cache location and optional configurations are derived from the input configuration string.
Parameters
default
The default Path
for the file cache if none is specified in the configuration.