Writing a good prompt for an AI
Your progress
0 lesson completed out of 12

A lesson is completed when you tick it, when you watch its video to the end or when you score 80% on its quiz. The certificate is issued online after the final assessment, from a score of 32 out of 40.

Your progress is saved in this browser. Log in to your client area to pick it up on your other devices.

Video transcript

Lesson 8, module 2: Getting the answer you need Working on a long document, from attachment to targeted question A 96-page set of building rules, one question about the lift. Where's the answer?

Paste, attach or split? Three questions decide. [Diagram: Paste, attach or split?] 1. Is the text longer than two or three pages? 2. Is the file within your assistant's limits (size, pages, number of files)? 3. Will you still use it in the weeks to come? Yes to all: Put it in a project with its instructions: you won't have to attach it every time. Document at the top, instructions, question at the end. [Diagram: The order of a prompt on a long document] The document The goal and instructions The question From top to bottom, in the order the assistant reads them. The question comes last. Document at the top, question at the end: according to Anthropic, all its models benefit. Advice given for long documents A free step that works everywhere Quote first, answer second. Prompt: First quote, word for word with their numbers, the articles that cover lift charges. Then answer: does lot 3, on the ground floor, pay? If it says nothing, write: not in the document. Answer: Article 34, page 41: "Lots located on the ground floor do not contribute to lift charges." Answer: no, lot 3 doesn't contribute, according to article 34. "Summarise" buries the answer. A targeted question finds it. [Diagram: "Summarise" versus a targeted question] "Summarise these rules" Quote, then answer Same 96-page rules, same assistant. The useful answer fitted in one article. Attach, get quotes, ask, check. [Diagram: Attach, get quotes, ask, check] 1. Attach 2. Get quotes 3. Ask 4. Check The last step is yours: a quote you can't find in the document sinks the answer. In the exercise, Claire questions 38 pages of general terms of purchase. Your turn: Late penalties in 38 pages of general terms of purchase The written lesson, the corrected exercise and the quiz are below the video.

Lesson 8 of 12 · module 2, get the answer you need

Working on a long document, from attachment to targeted question

Beyond a few pages, attach the document rather than pasting it, within your assistant’s limits. Put it at the top, with the question at the end. Have the relevant passages quoted word for word, with their numbers, before the answer, and require “not in the document” when it says nothing. Ask targeted questions rather than “summarise”.

  • 32 min of reading
  • 1 min 53 of video
  • 7 diagrams
  • 3 demandes to copy
  • 3 exemples pratiques
  • 4 exercices answerss
  • 5 questions
  • 1 ressource

By the end of this lesson, you will know how to

  • Choose between pasting, attaching, splitting or storing in a project, depending on the document’s length and use
  • Write a request that has the passages quoted before the answer and rejects anything the document does not contain
  • Check an answer on a long document by finding each quotation in the file

What’s covered

  1. Paste or attach
  2. Document at the top, question at the end
  3. Have it quote before answering
  4. Targeted questions rather than “summarise”
  5. Split, or store in a project
  6. 3 worked examples, followed from start to finish
  7. Exercise with answers · Late-delivery penalties in 38 pages of general terms of purchase
  8. 3 practice exercises, from guided to demanding cases
  9. The quiz

Key points

  • Beyond two or three pages, attach the file rather than pasting it, within your assistant’s limits.
  • The document at the top, the goal and instructions, then a single question at the end.
  • Have the passages quoted word for word, with their number and page, before the answer, and find each quotation in the document.
  • “If it says nothing, write: not in the document” stops you being told things the document doesn’t contain.
  • Targeted questions rather than “summarise”; a document that is too long gets split, a document you use every week goes into a project.