Updates the cache with new data using a prompt and an LLM key.
update(prompt: string, llmKey: string, value: T): Promise<void>| Name | Type | Description |
|---|---|---|
prompt* | string | The prompt used to store the data. |
llmKey* | string | The LLM key used to store the data. |
value* | T | The data to be stored. |