memory

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(db database.Database, llm provider.Provider) *Manager

func (*Manager) AddMemory

func (m *Manager) AddMemory(ctx context.Context, memory database.UserMemory) error

func (*Manager) DeleteMemory

func (m *Manager) DeleteMemory(ctx context.Context, memory database.UserMemory) error

func (*Manager) GetMemories

func (m *Manager) GetMemories(ctx context.Context) ([]database.UserMemory, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL