Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Memory ¶
type Memory interface {
// Store saves a learning
Store(ctx context.Context, learning agent.Learning) error
// Recall retrieves learnings matching a pattern or context
Recall(ctx context.Context, pattern string) ([]agent.Learning, error)
// RecordDecision records a decision and its outcome
RecordDecision(ctx context.Context, decision agent.Decision) error
// GetDecisionHistory retrieves decision history
GetDecisionHistory(ctx context.Context, limit int) ([]agent.Decision, error)
// UpdateLearningConfidence adjusts confidence based on application success
UpdateLearningConfidence(ctx context.Context, learningID string, successful bool) error
}
Memory provides learning and recall capabilities for the agent
Click to show internal directories.
Click to hide internal directories.