Documentation
¶
Overview ¶
Package memory defines the agent core's long-term memory contract.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fact ¶
type Fact struct {
ID string
Text string
Hash string
Score float32
CreatedAt time.Time
Scope Scope
}
Fact is a durable statement returned by a Store.
type Message ¶
type Message struct {
Role string `json:"role"`
Content string `json:"content"`
Name string `json:"name,omitempty"`
}
Message is a conversational turn supplied to Store.Add.
Click to show internal directories.
Click to hide internal directories.