Skip to content
Scott Carvalho edited this page Feb 5, 2024 · 9 revisions

Welcome to the Ghostreader Guide!

Parameters

A list of the parameters you can use to create custom prompts for the Reader Ghostreader.

Selection

  • {{ selection.raw }} – Whatever text was selected, focused, or highlighted when you invoked Ghostreader.
  • {{ selection.sentence }} – If you had less than a sentence selected (eg just a word), this will expand to the surrounding sentence.
  • {{ selection.paragraph }} – If you had less than a paragraph selected (eg just a sentence), this will expand to the surrounding paragraph.

Document

  • {{ document.content }} – The full content of the document.
  • {{ document.title }} – The title of the document.

Highlight(s)

  • {{ highlights }} - The list of highlights of the document.

Other

  • {{ central_sentences }} - The most important sentences in the document.
  • {{ count_tokens }} - The number of tokens.

Examples 🤔

  • List the highlighted content:
{% for highlight in highlights %}
    {{ highlight.content }}
  • What is the definition of {{ selection.raw }}?
  • What is the definition of "{{ selection.raw }}" as used in the sentence "{{ selection.sentence }}"?

List of Official Ghostreader Prompts:

  • Ask the document a question
  • Summarize the document
  • Highlight the document
  • Generate thought-provoking questions
  • Generate Q&A pairs based on your highlights
Clone this wiki locally