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

Method MissingFor

cli/workspace/memory/vector_store.go:65–70  ·  view source on GitHub ↗

MissingFor returns the subset of factIDs that have no vector yet.

(factIDs []string)

Source from the content-addressed store, hash-verified

63
64// MissingFor returns the subset of factIDs that have no vector yet.
65func (v *VectorIndex) MissingFor(factIDs []string) []string {
66 if v == nil {
67 return nil
68 }
69 return v.idx.MissingFor(factIDs)
70}
71
72// BackfillFacts embeds and stores the supplied (id,text) fact pairs.
73func (v *VectorIndex) BackfillFacts(ctx context.Context, items map[string]string) error {

Calls

no outgoing calls