package
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Feb 19, 2025
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Creates caching layer for LLM client.
Use github.com/akrylysov/pogreb to cache chatter on local file systems:
llm, err := /* create LLM client */
db, err := pogreb.Open("llm.cache", nil)
text := cache.New(db, llm)
Getter interface abstract storage
Setter interface abstract storage
Source Files
¶
Click to show internal directories.
Click to hide internal directories.