(ctx context.Context, memory UserMemory)
| 19 | |
| 20 | type Database interface { |
| 21 | AddMemory(ctx context.Context, memory UserMemory) error |
| 22 | GetMemories(ctx context.Context) ([]UserMemory, error) |
| 23 | DeleteMemory(ctx context.Context, memory UserMemory) error |
| 24 | SearchMemories(ctx context.Context, query, category string) ([]UserMemory, error) |
no outgoing calls