/TextbookGPT

The ChatGPT Textbook Plugin lets you easily search information in a textbook by asking questions in everyday language.

Primary LanguagePythonMIT LicenseMIT

📚 TextbookGPT (developer access only) 🚀

🗣️ Chat with textbooks using ChatGPT! Now with textbook diagrams support

🎬 Textbook Diagrams Demo & Textbook Paragraphs Demo

🐦 Follow the author on Twitter for updates on our next release!

🖼️ Diagrams

Source-cited diagrams from textbooks right in your chat!

📝 Text Only

Example: Deep Learning Textbook on backpropagation (from text-only branch)

🔧 Usage

💡 Join the OpenAI Plugins early access allowlist

🚀 Deploy this repo on Replit or 💌 DM me for our deployment link!

💻 Developer Access Quickstart

  1. Follow the original tutorial to set up your vector database
  2. Create a file like scripts/process_books/deeplearning.json
  3. Run python scripts/process_books/process_json.py --filepath deeplearning.json
  4. Deploy the plugin and enjoy!

Enhancements over the original repo:

  • Book manipulation scripts
  • Updated textbook data model (e.g. chapters & diagrams)
  • Improved textbook queries & API prompting