Book Bot is a Streamlit app that lets you upload PDFs, text, or markdown files and then ask questions about them.
It uses LangChain + Google Gemini for smart Q&A and can optionally read answers aloud using gTTS.
-
Clone this repo
git clone https://github.com/your-username/your-repo.git cd your-repo -
Install dependencies
pip install -r requirements.txt
-
Add your API key Create a
.envfile in the project root:GOOGLE_API_KEY=your_api_key_here
python -m streamlit run app.pyThen open the link shown in the terminal (usually http://localhost:8501).
- π Upload PDF, TXT, MD (multiple files allowed)
- β‘ Fast document indexing with FAISS
- π€ Ask questions, get Gemini-powered answers with context citations
- π Optional text-to-speech (install
gTTS) - β»οΈ Persistent caching so re-uploads are faster