#Speaking to GPT3 about a book.

4 messages · Page 1 of 1 (latest)

dull flume
#

Hello, if I want to use GPT3, and load a book to GPT3. To ask a number of questions, and then keep interacting asking more and more questions, does GPT3 need to re-read the book every time for every new question? Or I can just continue the conversation?

jolly ember
#

Hey! There are a few ways to do this, but each has their limitations and benefits

#

You can send a large piece of context to GPT by adding book text in the prompt, this is called few shot learning, and will be fairly effective but you can only use 4096 tokens of that context in the prompt, which may not be enough

#

Another approach is to use embeddings, you can embed passages of your book and then search and find the most relevant embeddings to append to the prompt when answering a question