MCPcopy Create free account
hub / github.com/featureform/featureform / deleteIndex

Method deleteIndex

provider/pinecone.go:258–262  ·  view source on GitHub ↗

https://docs.pinecone.io/reference/delete_index

(name string)

Source from the content-addressed store, hash-verified

256
257// https://docs.pinecone.io/reference/delete_index
258func (api pineconeAPI) deleteIndex(name string) error {
259 base := api.getIndexOperationURL(fmt.Sprintf("databases/%s", name))
260 _, err := api.request("DELETE", base, nil, http.StatusAccepted)
261 return err
262}
263
264// https://docs.pinecone.io/reference/upsert
265func (api pineconeAPI) upsert(indexName, namespace, id string, vector []float32) error {

Callers 2

TestPineconeAPIFunction · 0.80
DeleteIndexMethod · 0.80

Calls 2

getIndexOperationURLMethod · 0.95
requestMethod · 0.95

Tested by 1

TestPineconeAPIFunction · 0.64