Skip to content

29decibel/talk-to-my-books

Repository files navigation

Talk to my books

talk-to-my-book

talk-to-multiple-books

There are lots of talk to your pdf services out there. But I really want one which I know where the data goes to.

So I built this desktop app which users your own OpenAI API key. Storing the embeddings and questions all locally in plain (JSON) files.

Download

Release page

Key ideas

  • Local first approach. Browse previous questions and answers locally. (Indexing and asking question still depends on OpenAI, hopefully can do entire local approach later on)
  • Better privacy - I don't want the pdf/epubs leaving my device. Because we still need to create OpenAI embeddings, so only the first time indexing/embeddings will send content to OpenAI.
  • Using my own OpenAI API key. There is no 3rd party service/server involved. So the imported pdf/epub got saved directly on your device, the created indexes also stored on the device after first indexing (through OpenAI API)
  • Question to multiple books.
  • All the questions and answers stored on the device. It's easy to export.

As this is still in beta mode, there are features like exports or other LLMs planning to supported in the future.

Future features

Features building in progress:

  • showing source documents metadata and browsing pdf directly on the app
  • export all the question and answers in markdown format
  • Save questions / answers
  • Search all previous questions
  • Customized prompt for the question

Build

pnpm i
pnpm start
pnpm package

Credits