MCPcopy Create free account
hub / github.com/Stylsheets/TaskEaseGPT / Upsert

Method Upsert

golang/internal/memory/memory/memory.go:189–202  ·  view source on GitHub ↗
(options *UpsertOptions)

Source from the content-addressed store, hash-verified

187}
188
189func (pa *PineconeAdapter) Upsert(options *UpsertOptions) (*UpsertOutput, error) {
190 res, err := pa.Client.Upsert(&pinecone.UpsertRequest{
191 Vectors: options.Vectors,
192 Namespace: options.Namespace,
193 })
194
195 if err != nil {
196 return nil, err
197 }
198
199 return &UpsertOutput{
200 UpsertedCount: res.UpsertedCount,
201 }, nil
202}

Callers

nothing calls this directly

Calls 1

UpsertMethod · 0.65

Tested by

no test coverage detected