pinecone-io / sample-apps

15 stars 7 forks source link

500 error in a Next.js API route #6

Open Tax-Technology opened 2 months ago

Tax-Technology commented 2 months ago

Without editing the code I receive a 500 error when running the legal-semantic-search sample app. Is this a server side bug?

Screenshot 2024-06-27 at 15 36 35

Also, if I want to use the app for my different legal documents, do I just remove the existing sample PDFs upload my own PDFs? or is there manual changes to be made e.g. to the db.json file etc? Is there a set-up video tutorial available?

mohitdudhat22 commented 1 month ago

Maybe you forgot to set up the environment, and replacing the existing sample PDF directly may not work, because the document states that PDFs are parsed by langchain.