FullMd5LLMCache#

class langchain_community.cache.FullMd5LLMCache(**kwargs)[source]#

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

id

idx

llm

metadata

prompt

prompt_md5

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.