Skip to content

hu-ke/reader-guru-fe

Repository files navigation


English | 中文

Introduction

This project is an OpenAI-powered website that integrated with OpenAI's capabilities of text summarization and question answer generation with given context. Both .pdf and .epub formats are supported. Summaries and conversations can be mangaged locally. This website is used for Free, without having to signup or signin. This repo is the source code of the front side. visit website>>

Tech Stack

  • Front side
    • Reactjs v18、dexie v4、Typescript v5
  • Server side
    • python v3.12、gunicorn、fastapi、langchain

Screenshots of the website

Book uploading page

Book detail page

Work flow

Each summarizing or Q&A process may takes few minutes mainly depending on your file size as well as OpenAI model's processing efficiency. It's necessary for us to have a grasp of what's going on under the hood. Below is a diagram for the work flow.

  1. Before we start, you need to prepare a .pdf or .epub file. If you don't have one, just click here to download a sample pdf book. After uploading, server will take care of everything and you just need to wait. If you are not a developer, just ignore the following time-consuming steps.
  2. Server will extract the whole texts from the book uploaded and use proper Text Splitter to split the texts into pieces of document.
  3. Embeddings generated by utilizing OpenAI embedding.
  4. Vectors are created by Pinecone or Embedding
  5. Server will return the answer or summary depending on user actions.

license

LICENSE

About

front end source code of https://reader.guru

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages