For when you need to get back into a book you abandoned partway.
-
Install the required dependencies using Poetry:
poetry install
-
Run the Streamlit App
streamlit run bookrecapper/book_recapper.py
-
Install the required dependencies using Poetry:
poetry install
-
Install the pre-commit hooks:
poetry run pre-commit install
- Allow user to select the correct chunk before summarizing.
- Divide chunks more sensibly (sentences, chapter breaks, etc.).
- Parallelize API calls while being mindful of rate limits.
- PaLM seems to be pretty bad at following instructions and GPT-3.5-turbo seems to be much better. The API for the latter is paid and heavily rate-limited, however. Simply taking the final prompt text from this application and pasting it in ChatGPT gives a much better result.