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

Method Update

golang/internal/memory/memory/memory.go:162–176  ·  view source on GitHub ↗
(options *UpdateOptions)

Source from the content-addressed store, hash-verified

160type UpdateOutput struct{}
161
162func (pa *PineconeAdapter) Update(options *UpdateOptions) (*UpdateOutput, error) {
163 _, err := pa.Client.Update(&pinecone.UpdateRequest{
164 ID: options.ID,
165 Values: options.Values,
166 SparseValues: options.SparseValues,
167 SetMetadata: options.SetMetadata,
168 Namespace: options.Namespace,
169 })
170
171 if err != nil {
172 return nil, err
173 }
174
175 return &UpdateOutput{}, nil
176}
177
178// Upsert
179

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected