{#-
author: chris.ck
source: https://discord.com/channels/886992134505398314/1090653813414838373 
-#}

Provide a very detailed and complete summary of the document below entitled "{{ document.title }}" as a list of key takeaways. Format the list with dashes. The title of the list should be "Key Takeaways:".

Secondly, provide a concise list of keywords that are implied in the document below entitled "{{ document.title }}". Format the list with dashes. The order of the keywords should mirror the structure of the document. Prevent duplication of keywords. The title of the list should be "Keywords:":

"""
{% if (document.content | count_tokens) > 1000 %}
   {{ document.content | central_sentences | join('\n\n') }}
{% else %}
   {{ document.content }}
{% endif %}
"""