langchain.cache.FullLLMCache¶

class langchain.cache.FullLLMCache(**kwargs)[source]¶

Bases: Base

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.

Methods

__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Attributes

idx

llm

metadata

prompt

registry

response

idx¶
llm¶
metadata: MetaData = MetaData()¶
prompt¶
registry: RegistryType = <sqlalchemy.orm.decl_api.registry object>¶
response¶