Skip to content

(Nikshith)πŸ“š Book Bot – AI Study Buddy: A Streamlit app that lets you upload PDFs/TXT/MD files and chat with them using Google Gemini + LangChain. It finds answers from your books with smart search and citations.

Notifications You must be signed in to change notification settings

Kartavya-AI/Book_AI_Questions_Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

29 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š Book Bot – AI Study Buddy

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.


πŸš€ Setup

  1. Clone this repo

    git clone https://github.com/your-username/your-repo.git
    cd your-repo
  2. Install dependencies

    pip install -r requirements.txt
  3. Add your API key Create a .env file in the project root:

    GOOGLE_API_KEY=your_api_key_here
    

▢️ Run the App

python -m streamlit run app.py

Then open the link shown in the terminal (usually http://localhost:8501).


πŸ›  Features

  • πŸ“‚ 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

About

(Nikshith)πŸ“š Book Bot – AI Study Buddy: A Streamlit app that lets you upload PDFs/TXT/MD files and chat with them using Google Gemini + LangChain. It finds answers from your books with smart search and citations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •