-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from microsoft/PSL-UpdatePrompt
fix: Align extract-keywords.txt Prompt with Hardcoded System Message
- Loading branch information
Showing
1 changed file
with
14 additions
and
10 deletions.
There are no files selected for viewing
24 changes: 14 additions & 10 deletions
24
App/kernel-memory/service/Core/Prompts/extract-keywords.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,25 @@ | ||
[EXTRACT KEYWORDS RULES] | ||
IT SHOULD BE A LIST OF DICTIONARIES WITH CATEGORY AND KEYWORDS | ||
KEYWORDS SHOULD BE CATEGORY SPECIFIC | ||
KEYWORDS SHOULD BE A LIST OF STRINGS | ||
KEYWORDS COUNT CAN BE UP TO 50 | ||
You are an assistant to analyze Content and Extract Tags by Content. | ||
[EXTRACT TAGS RULES] | ||
IT SHOULD BE A LIST OF DICTIONARIES WITH CATEGORY AND TAGS | ||
TAGS SHOULD BE CATEGORY SPECIFIC | ||
TAGS SHOULD BE A LIST OF STRINGS | ||
TAGS COUNT CAN BE UP TO 10 UNDER A CATEGORY | ||
CATEGORY COUNT CAN BE UP TO 10 | ||
DON'T ADD ANY MARKDOWN EXPRESSION IN YOUR RESPONSE | ||
[END RULES] | ||
|
||
[EXAMPLE] | ||
[ | ||
{ | ||
"category1": ["keyword1", "keyword2", "keyword3"] | ||
"category1": ["tag1", "tag2", "tag3"] | ||
}, | ||
{ | ||
"category2": ["keyword1", "keyword2", "keyword3"] | ||
"category2": ["tag1", "tag2", "tag3"] | ||
} | ||
] | ||
[END EXAMPLE] | ||
|
||
Extract Keywords from this : | ||
{{$input}} | ||
Extract Tags from this : | ||
{{$input}} | ||
|
||
|
||
|