@postalsys/email-ai-tools 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/generate-summary.js +2 -2
- package/package.json +1 -1
package/lib/generate-summary.js
CHANGED
|
@@ -31,7 +31,7 @@ Instructions:
|
|
|
31
31
|
- Do not include message signatures in the extracted reply text
|
|
32
32
|
- If the email text mentions events, return these events as separate event objects in an "events" array
|
|
33
33
|
- In the event object include the following properties
|
|
34
|
-
- "description" property that describes the event
|
|
34
|
+
- "description" property that describes the event in English
|
|
35
35
|
- "location" property that defines the expected location of the event
|
|
36
36
|
- "startTime" property that includes a timestamp without a timezone for the start of the event
|
|
37
37
|
- "endTime" property that includes a timestamp without timezone for the expected end of the event if there is high confidence for the value
|
|
@@ -43,7 +43,7 @@ Instructions:
|
|
|
43
43
|
- "general" describes a generic event, like a fair or a competition
|
|
44
44
|
- If the email text mentions actions that the recipient must take, return these actions as separate action objects in an "actions" array
|
|
45
45
|
- In the action object, include the following properties
|
|
46
|
-
- "description" property that summarises the action
|
|
46
|
+
- "description" property that summarises the action in English
|
|
47
47
|
- "dueDate" property that includes a timestamp without a timezone for the due date of the action
|
|
48
48
|
- Do not include the event in the "events" array if the confidence for it being an event is low
|
|
49
49
|
- Generate a security analysis of the email and store the security analysis in "riskAssessment" property as an object value.
|