# Readwise Ghostreader
## Metadata
**Status**:: #x
**Zettel**:: #zettel/fleeting
**Created**:: [[2023-04-30]]
**Topic**:: [[♯ Readwise Reader]]
## Synopsis
Ghostreader is an AI reading assistant in [[♯ Readwise Reader]].
Ghostreader enables you to define terms, look up encyclopedia entries, simplify complex language, ask a document a question, and much more. Try it by hitting <kbd>Shift</kbd>+<kbd>G</kbd> to invoke the assistant on the document, or <kbd>G</kbd> on the selection.
## Promopts
### Summarization
Customization
```
{#- BACKGROUND: This prompt instructs ChatGPT to summarize the document into three information-dense sentences. It's intended to be used after you're done reading. If you want your summaries in a language other than English, we recommend rewriting the entire prompt in the target language. You can get quite creative using combinations of logic and variables to enable all kinds of creative use cases. See the documentation for details and examples. -#}
Write three easy-to-read sentences summarizing the following text:
===
Title: {{ document.title }}
Author: {{ document.author }}
Domain: {{ document.domain}}
{#- The if-else logic below checks if the document is very long, long, or short in order to not exceed the GPT "prompt window". We highly recommend not changing this unless you know what you're doing. -#}
{% if (document.content | num_tokens) > 25000 %}
{{ document.html | central_paragraphs | join('\n\n') }}
{% elif (document.content | num_tokens) > 2500 %}
{{ document.content | central_sentences | join('\n\n') }}
{% else %}
{{ document.content }}
{% endif %}
IMPORTANT: Write no more than THREE sentences. Each sentence should be short and easy-to-read. Use words sparingly and please capture the big idea.
Also, after a line break below the article summary, please create 3 relevant questions based on the key points of the article. Each question should help deepen the understanding of the key concepts in the article and reinforce the impression of the key points.
```
Default
```
{#- BASIC SUMMARIZATION PROMPT -#}
{#- The following prompt reduces a document to three information dense sentences. If you want your summaries in a language other than English, we recommend rewriting the entire prompt in the target language. You can get quite creative using combinations of logic and variables to enable all kinds of creative use cases. See the documentation for details and examples. -#}
Write three easy-to-read sentences to summarize the following text:
"""
Title: {{ document.title }}
Author: {{ document.author }}
Domain: {{ document.domain}}
{#- The if-else logic below checks if the document is long. If so, it will use key sentences to not exceed the GPT prompt window. We highly recommend not changing this unless you know what you're doing. -#}
{% if (document.content | count_tokens) > 2000 %}
{{ document.content | central_sentences | join('\n\n') }}
{% else %}
{{ document.content }}
{% endif %}
"""
IMPORTANT: Write no more than THREE sentences. Each sentence should be short and easy-to-read. Use words sparingly and please capture the big idea.
```