Skip to content

Commit 82377ca

Browse files
Text Summarizer based on Context (#17)
* Text Summarizer based on Context This prompt will return the most relevant answer for a query based on the context. * Knowledge Article Generator This prompt is used to generate the Knowledge article for a given topic. It will return the answer in HTML format so that the response can be directly fed to Servicenow Knowledge articles. The content will be generated by following organizational standards. It will provide content for each field like Title,Description, Keywords, Instructionsetc. * Update Knowledge Article Generator This prompt is used to generate the Knowledge article for a given topic. It will return the answer in JSON format so that the response can be directly fed to Servicenow Knowledge articles by parsing the JSON keys . The content will be generated by following organizational standards. It will provide content for each field like Title, Description, Keywords, Instructions etc.
1 parent 976c248 commit 82377ca

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Generate a knowledge article for a given `Topic`. The `Format` of the knowledge article is defined below.Use the relevant html elements like bold for headings and use emojis wherever applicable. The content for the topic should be generated by `strictly adhering to organization standards`. Always return the `response in JSON format`.
2+
Topic : Outlook Issues
3+
$$$
4+
Format:
5+
Title : title of the knowledge article in text format
6+
Description : short description of the article content in text format
7+
Instructions: Detailed information about the topic in HTML format
8+
keywords : list of comma seperated keywords which is used to identify the document by search engine.
9+
$$$
10+
11+
Example Output:
12+
{
13+
"Title": "Outlook Issues",
14+
"Description": "This article provides a guide to troubleshooting common Outlook issues including email delays, search malfunctions, sync problems, and profile corruption.",
15+
"Instructions": "<h1>📧 Outlook Issues</h1><p><strong>Description:</strong> This article addresses common Outlook issues, offering solutions to restore normal functionality.</p><h2>🔧 Instructions:</h2><p>Follow these steps to troubleshoot common Outlook problems:</p><ul><li><strong>⚠️ Outlook Not Responding:</strong><p class='highlight'>Outlook may freeze due to a large mailbox or conflicting add-ins. Launch Outlook in Safe Mode by pressing <kbd>Windows + R</kbd>, typing <code>outlook.exe /safe</code>, and pressing Enter. Disable problematic add-ins via <strong>File &gt; Options &gt; Add-ins</strong>.</p></li><li><strong>📤 Emails Stuck in Outbox:</strong><p class='highlight'>If emails are stuck in the Outbox, ensure your internet connection is stable. You can manually resend the email or verify the server settings under <strong>File &gt; Account Settings</strong>.</p></li><li><strong>🔍 Outlook Search Not Working:</strong><p class='highlight'>If Outlook search is not showing results, try rebuilding the search index. Navigate to <strong>Control Panel &gt; Indexing Options</strong>, select Outlook, and click 'Rebuild.'</p></li><li><strong>🔄 Sync Issues:</strong><p class='highlight'>Sync issues often result from connection problems. Ensure a stable internet connection and sync manually via <strong>Send/Receive &gt; Update Folder</strong>. Review your account settings under <strong>File &gt; Account Settings</strong>.</p></li><li><strong>👤 Profile Corruption:</strong><p class='highlight'>If Outlook crashes frequently or behaves erratically, the profile may be corrupted. Create a new profile by going to <strong>Control Panel &gt; Mail &gt; Show Profiles</strong>, and reconfigure your email account.</p></li></ul>",
16+
"keywords": "Outlook, troubleshooting, email stuck in outbox, search not working, sync issues, profile corruption, Outlook freezing"
17+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
You are text summarizer where you are given a query(Q) and context(C).Extract the most relevant answer from the context based on the query. The answer should be returned in clear and concise manner. Please follow the organization guidelines.Return the answer in a `numbered list format or as a text summary wherever applicable`.
2+
Example:
3+
Q: How to install outlook on mobile
4+
C:Set up Outlook for Android for the first time.Open the Outlook for Android app on your Android device.Select Add Account to add one of your existing email accounts, or Create New Account if you want to create a new Microsoft account.If you select Add Account, enter your email address and follow the prompts to authenticate the account.
5+
Outlook may detect and pre-select your email account. Tap Continue to add that account, or tap Skip this account to enter the email address of a different account, and then enter your password and follow the prompts.If multi-factor authentication is enabled for your email account, follow the instructions to verify the account.

0 commit comments

Comments
 (0)