Toggle Menu
Prev Up Next

# `langchain_community.cache`.FullLLMCache

class langchain_community.cache.FullLLMCache(**kwargs)

  SQLite table for full LLM Cache (all generations).

  A simple constructor that allows initialization from kwargs.

  Sets attributes on the constructed instance using the names and values in `kwargs`.

  Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

  Attributes

  `idx` |
  `llm` |
  `metadata` |
  `prompt` |
  `registry` |
  `response` |

  Methods

  `__init__`(**kwargs) | A simple constructor that allows initialization from kwargs.

  __init__(**kwargs)

    A simple constructor that allows initialization from kwargs.

    Sets attributes on the constructed instance using the names and values in `kwargs`.

    Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.