Giter Site home page Giter Site logo

arthritiskneedoctor / bookmindai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from illia-the-coder/bookmindai

0.0 0.0 0.0 2.42 MB

BookGPT is an advanced book analysis tool that provides comprehensive insights into any book. Dive deep into plot points, character relationships, themes, motifs, and more!

Home Page: https://illia56-book-mind-ai.hf.space/

License: MIT License

Python 100.00%

bookmindai's Introduction

๐Ÿ“š BookMindAI: Book Analysis with BookGPT and Palm 2 ๐Ÿค–

BookMindAI is an advanced tool for book analysis that provides a detailed overview of any book. Dive into plot points, relationships between characters, themes, motifs, and much more!

Features ๐ŸŒŸ

  • Detailed Analysis: Understand the main events, character dynamics, key themes, and literary techniques.
  • Book Cover Retrieval: View the book's cover.
  • Bookstore Links: Find out where you can purchase the book.
  • Quick Responses: Get a detailed analysis in less than 30 seconds!

Installation ๐Ÿ› 

  1. Clone the repository:

    git clone https://github.com/Illia-the-coder/BookMindAI.git
  2. Navigate to the project directory:

    cd BookMindAI
  3. Install the required packages:

    pip install -r requirements.txt

Usage ๐Ÿš€

  1. Set the environment variable for the Bard API token:

    export BARD_API_TOKEN=your_token_here
  2. Launch the Gradio interface:

    python app.py
  3. Open the Gradio interface in your browser and start analyzing books!

How It Works ๐Ÿง 

  1. Data Input: The user enters the book title, author's name, language, and additional analysis parameters through the Gradio interface.
  2. Language Selection: The chosen language is used to configure the Bard API.
  3. Book Cover Retrieval: A request is sent to the Bard API.
  4. Detailed Analysis: For each user-selected parameter, a separate request is made to the Bard API.
  5. Short Summary Retrieval: A request is sent to the Bard API.
  6. Combining Results: The short summary and detailed analysis are combined.
  7. Publication on Telegraph: The full book analysis is published on Telegraph.
  8. Displaying Results: The results are displayed in the Gradio interface.

License ๐Ÿ“„

This project is licensed under the MIT license - see the LICENSE.md file for details.

Acknowledgements ๐Ÿ™

  • Thanks to Palm 2 for the powerful model.
  • Gradio for the intuitive interface.
  • And to all participants who helped make this project a reality!

bookmindai's People

Contributors

illia-the-coder avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.