Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Pinata SDK files.private.vectorize creates embeddings for an existing private IPFS file so it can be queried for similarity search later on.
import { PinataSDK } from "pinata"; const pinata = new PinataSDK({ pinataJwt: process.env.PINATA_JWT!, pinataGateway: "example.mypinata.cloud", }); const update = await pinata.files.private .vectorize("52681e41-86f4-407b-8f79-33a7e7e5df68")
type VectorizeFileResponse = { status: boolean; };
string
const update = await pinata.files.private .vectorize("52681e41-86f4-407b-8f79-33a7e7e5df68")