Legal semantic search application

Hi @martybhoy2009, and welcome to the Pinecone forums!

Thank you for your question.

The db.json file is a sample file that simulates a means of providing additional metadata about your documents - since there’s a number of ways you could opt to do so in your production app:

  • A Flatfile, like db.json
  • A traditional RDMS like MySQL or PostgreSQL
  • Document-level metadata like Frontmatter which would require additional parsing

For the purposes of the sample app, the db.json file is static and manually created.

Therefore, if you’re trying to swap in your own PDF files, edit the entries in db.json so they match your files.

Hope that helps!

Best,
Zack