The prompt
Analyze the following extract taken from a document.
- Produce key points for memory.
- Give memory a name.
- Extract only points worth remembering.
- Be brief. Conciseness is very important.
- Use broken English.
You will use this memory to analyze the rest of this document, and for other relevant tasks.
[Input]
My name is Macbeth. I used to be King of Scotland, but I died. My wife's name is Lady Macbeth and we were married for 15 years. We had no children. Our beloved dog Toby McDuff was a famous hunter of rats in the forest.
My story was immortalized by Shakespeare in a play.
+++++
Family History
- Macbeth, King Scotland
- Wife Lady Macbeth, No Kids
- Dog Toby McDuff. Hunter, dead.
- Shakespeare play
[Input]
[[{{$input}}]]
+++++ What it is
Reads one extract of a longer document, names the memory and keeps only the points worth remembering in very short notes for later steps. The prompt text comes from the semantic-kernel repository (MIT licence, Copyright (c) Microsoft Corporation). The text is copied unchanged from its skprompt.txt file. Original author: Microsoft (microsoft/semantic-kernel).
Who it's for
- Developers building long-document pipelines
- Note takers
يقرأ مقطعًا من مستند طويل ويعطي الذاكرة اسمًا ويحتفظ فقط بالنقاط التي تستحق التذكر في ملاحظات قصيرة جدًا للخطوات اللاحقة.
Examples
The worked example inside the prompt
text[Input]
My name is Macbeth. I used to be King of Scotland, but I died. My wife's name is Lady Macbeth and we were married for 15 years. We had no children. Our beloved dog Toby McDuff was a famous hunter of rats in the forest.
My story was immortalized by Shakespeare in a play.
+++++
Family History
- Macbeth, King Scotland
- Wife Lady Macbeth, No Kids
- Dog Toby McDuff. Hunter, dead.
- Shakespeare playWhat it does: Sample input and the named memory the source expects.
Tips
- Fill {{$input}} with one extract at a time.
- The prompt asks for broken English and says conciseness is very important.