Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend interface {
Write(ctx context.Context, indexID, content string, metadata map[string]string) (map[string]any, error)
Read(ctx context.Context, indexID, neuronID string) (map[string]any, error)
Search(ctx context.Context, indexID, query string, depth, limit int, metadata map[string]string, strict bool) (map[string]any, error)
Recall(ctx context.Context, indexID string, limit int) (map[string]any, error)
Context(ctx context.Context, indexID, cue string, depth, maxTokens int) (map[string]any, error)
RegistryFindOrCreate(ctx context.Context, uuid string, metadata map[string]any) (map[string]any, error)
}
Backend is the minimal capability contract exposed to MCP tools.
Click to show internal directories.
Click to hide internal directories.