Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
BookRecs is a semantic search demo that recommends books based on user-provided genres and titles, leveraging a Weaviate vector database.
BookRecs is a semantic search demonstration project designed to provide book recommendations based on user-inputted genres and book titles. It leverages a database of 7000 books sourced from Kaggle, transformed into vector embeddings using large language models like Ada v2 (OpenAI) or Ollama.
The project's backend data pipeline is primarily written in Python, handling the ingestion and vectorization of the Kaggle dataset. The frontend is a Next.js application, providing a user-friendly interface for interacting with the recommendation engine. Users can choose to set up their own Weaviate cluster and generate embeddings or utilize a public, read-only Weaviate cluster provided for convenience. Configuration for OpenAI or Ollama API keys is required for embedding generation and inference, with considerations for associated costs.
To run BookRecs locally, clone the repository, set up your chosen data pipeline (Ollama or OpenAI with Weaviate), install Node.js dependencies, and start the Next.js application. Detailed instructions are provided within the repository's README.md for a smooth setup process.