MCPcopy Create free account
hub / github.com/astercloud/aster / Enabled

Method Enabled

pkg/memory/semantic.go:66–68  ·  view source on GitHub ↗

Enabled 返回语义记忆是否启用。

()

Source from the content-addressed store, hash-verified

64
65// Enabled 返回语义记忆是否启用。
66func (sm *SemanticMemory) Enabled() bool {
67 return sm != nil && sm.cfg.Store != nil && sm.cfg.Embedder != nil
68}
69
70// Close 关闭底层 VectorStore。
71func (sm *SemanticMemory) Close() error {

Callers 3

ExecuteMethod · 0.80
ExecuteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected