build the interface such that whenever a new pdf is uploaded the user is prompted to add author/title/year/etc OR query openAI with each new pdf to return a json with the respective metadata