Documentation
¶
Overview ¶
Package cache provides a small in-memory LRU used to dedupe expensive deterministic calls (embedding, recall). Capacity 0 disables caching. All methods are safe for concurrent use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache[K comparable, V any] struct { // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.