Retrieves data from the Redis server using a prompt and an LLM key. If the data is not found, it returns null.
lookup(prompt: string, llmKey: string): Promise<Generation[] | null>| Name | Type | Description |
|---|---|---|
prompt* | string | The prompt used to find the data. |
llmKey* | string | The LLM key used to find the data. |