Elliott-Chong / chatpdf-yt

https://chatpdf-elliott.vercel.app
641 stars 263 forks source link

Error upserting chunk [PineconeError] #6

Closed Victor-Timi closed 9 months ago

Victor-Timi commented 9 months ago

I am getting this error

Error upserting chunk [PineconeError: PineconeClient: Error calling upsert: PineconeError: The requested feature 'Namespaces' is not supported by the current index type 'Starter'.]

Here is my code for the namespace: const namespace = convertToAscii(fileKey); PineconeUtils.chunkedUpsert(pineconeIndex, vectors, namespace, 10)

And here is the code for the convert to Ascii

export function convertToAscii(inputString: string) { // remove non-ASCII characters const asciiString = inputString.replace(/[^\x00-\x7F]+/g, ""); return asciiString; }

What do you think might be wrong?

Victor-Timi commented 9 months ago

Here is how I resolved this issue, I deleted my default pinecone and created a free plan, its going to only last for 7 days, and that will work