This is a simple demonstration of Answer.AI's byaldi running on macOS. I got inspiration from merve's repost of Benjamin Clavié's Byaldi post. I added the check to see whether an index has been created before and to use the index in case it has.
Install using uv
:
uv sync
source .venv/bin/activate
uv run main.py
Make sure to have poppler
installed in your environment. E.g. on macOS: brew install poppler
.
The sample content is one PDF file containing Stephen Wolfram's blog post Five Most Productive Years: What Happened and What’s Next
You can replace it with your own content.