PdfGptIndexer: Indexing and searching PDF text data using GPT-2 and FAISS
The most frustrating thing about the many, <i>many</i> clones of this exact type of idea is that pretty much <i>all</i> of them require OpenAI.<p>Stop doing that.<p>You will have way more users if you make OpenAI (or anything that requires cloud) the 'technically possible but pretty difficult art of hoops to make it happen' option, instead of the other way around.<p>The best way to make these apps IMO is to make them work <i>entirely</i> locally, with an easy string that's swappable in a .toml file to any huggingface model.  Then if you <i>really</i> want OpenAI crap, you can make it happen with some other docker secret or `pass` chain or something with a key, while changing up the config.<p>The default should be local first, do as much as possible, and then <i>if the user /really/ wants to</i>, make the collated prompt send a very few set of tokens to openAI.