MCPcopy Create free account
hub / github.com/diillson/chatcli / AttachVectorIndex

Method AttachVectorIndex

cli/workspace/memory.go:144–146  ·  view source on GitHub ↗

AttachVectorIndex attaches a vector index used by HyDE Phase 3b. Pass nil to detach.

(v *memory.VectorIndex)

Source from the content-addressed store, hash-verified

142// AttachVectorIndex attaches a vector index used by HyDE Phase 3b.
143// Pass nil to detach.
144func (ms *MemoryStore) AttachVectorIndex(v *memory.VectorIndex) {
145 ms.manager.AttachVectorIndex(v)
146}
147
148// VectorIndex returns the attached vector index (may be nil).
149func (ms *MemoryStore) VectorIndex() *memory.VectorIndex {

Calls

no outgoing calls