langchain_community.cache.FullMd5LLMCache¶

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

SQLite表格用于完整的LLM缓存(所有代)。

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.