Constructors

Link copied to clipboard
constructor(vararg factories: PromptCache.Factory.Named)

Secondary constructor for the Aggregated class.

constructor(factories: List<PromptCache.Factory.Named>)

Functions

Link copied to clipboard
open override fun create(config: String): PromptCache

Creates a new instance of PromptCache based on the provided configuration string.

Link copied to clipboard
open fun elements(config: String): List<String>

Splits the given configuration string into a list of elements using ':' as the primary delimiter, while correctly handling nested structures indicated by curly braces '{' and '}'.