Skip to content

bradley-kreider/Book-Search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Book Search Tool

An intelligent book search application powered by Google Gemini AI and Open Library API. Search for books by topic, genre, author, or title, and get AI-powered recommendations.

Features

  • Search books across any genre using natural language
  • AI-powered book recommendations using Google Gemini
  • Integration with Open Library's extensive catalog
  • Clean, intuitive web interface

Setup

1. Get a Free Google Gemini API Key

  1. Visit https://aistudio.google.com/app/apikey
  2. Sign in with your Google account
  3. Click "Create API Key"
  4. Copy your API key

2. Install Dependencies

pip install -r requirements.txt

3. Configure API Key

Create a .env file in the project directory:

GOOGLE_API_KEY=your_api_key_here

4. Run the Application

streamlit run app.py

The app will open in your browser at http://localhost:8501

Usage

  1. Enter your search query (topic, genre, author, or book title)
  2. Choose search type: General, Author, or Subject/Genre
  3. Optionally enable AI query enhancement
  4. View search results with book covers and details
  5. Get AI-powered recommendations and insights
  6. Ask the AI assistant questions about books

Free Tier Limits

Google Gemini's free tier includes:

  • 15 requests per minute
  • 1 million tokens per day
  • More than enough for personal use!

Technologies Used

  • Streamlit: Web interface
  • Google Gemini: AI recommendations and query enhancement
  • Open Library API: Book search and metadata
  • Python: Backend logic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages