Documentation
¶
Overview ¶
Package semanticmemory provides a local, inspectable durable-memory store for Comanda workflows. It intentionally uses SQLite FTS5 as its first retrieval engine so memory remains local, portable, and easy to debug.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPath ¶
DefaultPath returns the project-local database path for a namespace.
Types ¶
type Record ¶
type Record struct {
ID string
Namespace string
Type string
Priority int
Confidence float64
Content string
SourceRunID string
SourceStep string
SourceRef string
CreatedAt time.Time
UpdatedAt time.Time
}
Record is one durable, independently understandable fact. Source fields preserve a route back to the workflow run or artifact that established it.
type SearchOptions ¶
SearchOptions bounds and filters a memory lookup.
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store owns an SQLite database and its FTS index.
Click to show internal directories.
Click to hide internal directories.