pashpashpash / vault-ai

OP Vault ChatGPT: Give ChatGPT long-term memory using the OP Stack (OpenAI + Pinecone Vector Database). Upload your own custom knowledge base files (PDF, txt, epub, etc) using a simple React frontend.
https://vault.pash.city
MIT License
3.26k stars 307 forks source link

Reason: Error upserting embeddings to Pinecone...unsupported protocol scheme "" #25

Open juicetin opened 1 year ago

juicetin commented 1 year ago

Error:

Failed Files:

    <foo>.pdf
    Reason: Error upserting embeddings to Pinecone: Post "<url>.pinecone.io/vectors/upsert": unsupported protocol scheme ""

To reproduce: Follow the setup instructions as per README on 20/4/23, upload a small file (mine was ~4mb after changing the allowed filesize), then try to ask a question - this error would then show up on the UI

DrMax1 commented 1 year ago

Error:

Failed Files:

    <foo>.pdf
    Reason: Error upserting embeddings to Pinecone: Post "<url>.pinecone.io/vectors/upsert": unsupported protocol scheme ""

To reproduce: Follow the setup instructions as per README on 20/4/23, upload a small file (mine was ~4mb after changing the allowed filesize), then try to ask a question - this error would then show up on the UI

Similar Problem here, but I already get the error when trying to upload a file!

Jasmin25 commented 1 year ago

Same error; I tried with a ~300 kb PDF file size.

djm93dev commented 1 year ago

prepend https:// to your pinecone api endpoint address

brookesdjb commented 1 year ago

prepend https:// to your pinecone api endpoint address

Yup, that's solved it for me, I think its not obvious because when you copy the endpoint from pinecone it comes without the https://

panjezor commented 1 year ago

this should be added to readme.

brookesdjb commented 1 year ago

I think it would be trivial to check the presence of "https://" when loading the endpoint from the env var and prepend it in code if it's missing