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

Method Fetch

golang/internal/memory/memory/memory.go:134–148  ·  view source on GitHub ↗
(options *FetchOptions)

Source from the content-addressed store, hash-verified

132}
133
134func (pa *PineconeAdapter) Fetch(options *FetchOptions) (*FetchOutput, error) {
135 res, err := pa.Client.Fetch(&pinecone.FetchRequest{
136 IDs: options.IDs,
137 Namespace: options.Namespace,
138 })
139
140 if err != nil {
141 return nil, err
142 }
143
144 return &FetchOutput{
145 Vectors: res.Vectors,
146 Namespace: res.Namespace,
147 }, nil
148}
149
150// Update
151

Callers

nothing calls this directly

Calls 1

FetchMethod · 0.65

Tested by

no test coverage detected