Skip to content

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

License

Notifications You must be signed in to change notification settings

Rutledge/TextbookGPT

 
 

Repository files navigation

ChatGPT Textbook Plugin

A ChatGPT plugin to chat with textbooks.

This is an example of asking the "Deep Learning Textbook" for exact quotes on backpropagation.

Watch the demo video with more prompts

Usage

To use the plugin you need to be in the OpenAI Plugins early access allowlist.

"Install unverified plugin" and use the following url to try the Deep Learning textbook https://plato-plugin.jackenglish1.repl.co

Developer Usage

These are the API calls happening

This is a fork of https://github.com/openai/chatgpt-retrieval-plugin. This repo adds

  • scripts for book manipulation under scripts/process_book
  • updated textbook datamodel (e.g. chapters)
  • updated textbook queries and api prompting

To add your own textbook you will need (beside the standard repo setup explained in OpenAI repo readme)

  1. a file in the form scripts/process_books/deeplearning.json
  2. call the command python scripts/process_books/process_json.py --filepath deeplearning.json

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • Other 0.7%