Workshop on Vector Databases for Research

Sample Prompt

This is a mostly empty project folder for a new law review project. There is a folder “sources” that has all of my sources in it.

I’d like you to set up a local vector database using these sources. They may be in a variety of formats, including .pdf, word document, webpages, and more. I would like you to set up skills for yourself to do the following:

  • When I add new sources, you extract the text and metadata and add it to the database.
  • I can ask you questions and you answer them based on the source material
  • I can have you identify potential sources to cite for claims in my writing that don’t yet have footnotes or citations.

Let’s make it a rule that whenever you draw upon these sources to answer a question, you always reference back to the source and page number and include the excerpts from the sources that support any claim you are making.