createStorageKey

fun <T : Any> createStorageKey(name: String, typeToken: ERROR CLASS: Symbol not found for TypeToken): AIAgentStorageKey<T>(source)

Creates a storage key for a specific type, allowing identification and retrieval of values associated with it.

Parameters

name

The name of the storage key, used to uniquely identify it.

typeToken

Type of the value stored under this key.