Versions in this module Expand all Collapse all v0 v0.0.1 Aug 9, 2024 Changes in this version + type InMemory struct + Options Options + func New(ctx context.Context, opts ...Option) (*InMemory, error) + func (im *InMemory) Get(_ context.Context, key string) *llms.ContentResponse + func (im *InMemory) Put(_ context.Context, key string, value *llms.ContentResponse) + type Option func(*Options) error + func WithCacheOptions(opts ...cache.Option[string, *llms.ContentResponse]) Option + func WithExpiration(expiration time.Duration) Option + func WithItemOptions(opts ...cache.ItemOption) Option + type Options struct + CacheOptions []cache.Option[string, *llms.ContentResponse] + ItemOptions []cache.ItemOption