mirror of
https://github.com/vxcontrol/langchaingo.git
synced 2026-07-21 00:45:22 -04:00
5 lines
253 B
Go
5 lines
253 B
Go
// Package cache provides a generic wrapper that adds caching to a `llms.Model`. Responses are
|
|
// cached under a key calculated based on the provided messages and options. Different cache
|
|
// backends can be used when creating the wrapper.
|
|
package cache
|