Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidTypes = []string{"observation", "decision", "pattern", "gotcha"}
ValidTypes are the allowed memory types.
Functions ¶
This section is empty.
Types ¶
type Memory ¶
type Memory struct {
ID string `yaml:"id" json:"id"`
Type string `yaml:"type" json:"type"`
Repo string `yaml:"repo" json:"repo,omitempty"`
Tags []string `yaml:"tags" json:"tags,omitempty"`
CreatedBy string `yaml:"created_by" json:"created_by,omitempty"`
CreatedAt string `yaml:"created_at" json:"created_at"`
Content string `yaml:"-" json:"content"`
}
Memory represents a single memory entry stored as a markdown file with YAML frontmatter.
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store manages memory files under <root>/<DataDir>/memory/.
Click to show internal directories.
Click to hide internal directories.