MissingFor returns the subset of factIDs that have no vector yet.
(factIDs []string)
| 63 | |
| 64 | // MissingFor returns the subset of factIDs that have no vector yet. |
| 65 | func (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. |
| 73 | func (v *VectorIndex) BackfillFacts(ctx context.Context, items map[string]string) error { |
no outgoing calls