create

abstract fun create(config: String): PromptCache(source)

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

Return

An instance of PromptCache tailored to the provided configuration.

Parameters

config

The configuration string used to determine how the PromptCache instance is created.