Chat
parent:
question-answer
Related:
Chat's 0 shot. However, if you want to keep the API on track, you'll want to be able to continue to keep the relevant information near the text.This is because the API only processes 2000 characters at a time.
[EOP] denotes end of prompt after which the API generates text
*cont* denotes where the previous input + output were fed back in as context for the prompt.
Zero shot:
Zero shot works but it isn't always useful. E.g. suppose I want to be able to figure out how to do a book report on the internet.
Q: What is "The History of the Pelopenessian Wars" about?
A:[EOP]"The History of the Pelopenessian Wars" is a historical account of the Peloponnesian War, which was fought between the city-states of Athens and Sparta in ancient Greece. The war lasted from 431 BC to 404 BC, and was fought primarily over control of the Greek city-states.
***cont***
Q: Are there any good books summarizing it?
A:[EOP] Yes, there are. I recommend "The Landmark Thucydides: A Comprehensive Guide to the Peloponnesian War" by Richard Crawley. It's a very good book, and it's a great way to get a quick overview of the war.
***cont***
Q: What's the APA citation for "The Landmark Thucydides"?
A:[EOP] Crawley, Richard. "The Landmark Thucydides: A Comprehensive Guide to the Peloponnesian War." New York: Free Press, 1996.One shot:
You can prime the API to respond with specific information. Here, I prime it to give me a book and author about the question.
Try to answer questions by providing related books.
Q: What happened during the Peloponnesian War?
A: The Peloponnesian War was a war between Athens and Sparta. See "The History of the Peloponnesian War" by Thucydides.
Q: What happened during World War II?
A:[EOP] World War II was a war between the Allied Powers and the Axis Powers. See "The Second World War" by Winston Churchill.page revision: 6, last edited: 05 Jul 2020 01:03