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