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
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
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)
- a file in the form
scripts/process_books/deeplearning.json
- call the command
python scripts/process_books/process_json.py --filepath deeplearning.json