mayooear / gpt4-pdf-chatbot-langchain

GPT4 & LangChain Chatbot for large PDF docs
https://www.youtube.com/watch?v=ih9PBGVVOO4
14.86k stars 3.01k forks source link

ErrorWithoutStackTrace: The requested feature 'Namespaces' is not supported by the current index type 'Starter' #359

Closed MrJim-Dev closed 1 year ago

MrJim-Dev commented 1 year ago

Received the error after I try to ask a question.

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

image

What does it mean? Do I have to upgrade the pinecone plan? Or is there any way to fix it without upgrading?

profmarkhutchinson commented 1 year ago

any success fixing this? I am getting the same error [The requested feature 'Namespaces' is not supported by the current index type 'Starter']

MrJim-Dev commented 1 year ago

any success fixing this? I am getting the same error [The requested feature 'Namespaces' is not supported by the current index type 'Starter']

I got it fixed by leaving the Pinecone Namespace field empty. This field can be found in "Pinecone Upsert Document" > Additional Parameters. image

notTanveer commented 1 year ago

is this feature available in the starter version?

nishchal27 commented 11 months ago

Namespace is not for free tier or starter, you can leave namespace empty this issue will be solved

await PineconeStore.fromDocuments( pageLevelDocs, embeddings, { pineconeIndex, // namespace: createdFile.id, } )

PeterMichael28 commented 10 months ago

Namespace is not for free tier or starter, you can leave namespace empty this issue will be solved

await PineconeStore.fromDocuments( pageLevelDocs, embeddings, { pineconeIndex, // namespace: createdFile.id, } )

sorry i am having thi same issue, do you mean i cant use the namespace at all cos if i am on the free tier, or if i leave the namespace option, will it work

nishchal27 commented 10 months ago

@PeterMichael28 it is working in my web app, I've just commented out the "namespace", just remove the namespace field.

here is the screenshot link of my code:

https://github.com/mayooear/gpt4-pdf-chatbot-langchain/assets/17685195/3881131e-1502-49ed-91e7-0087e83ad76f