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

Method Count

cli/workspace/memory/vector_store.go:57–62  ·  view source on GitHub ↗

Count returns the number of vectors currently stored.

()

Source from the content-addressed store, hash-verified

55
56// Count returns the number of vectors currently stored.
57func (v *VectorIndex) Count() int {
58 if v == nil {
59 return 0
60 }
61 return v.idx.Count()
62}
63
64// MissingFor returns the subset of factIDs that have no vector yet.
65func (v *VectorIndex) MissingFor(factIDs []string) []string {

Calls 1

CountMethod · 0.65