generated from silverbulletmd/silverbullet-plug-template
-
Notifications
You must be signed in to change notification settings - Fork 1
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 #69 from justyns/template-options
Add more insertAt options
- Loading branch information
Showing
7 changed files
with
318 additions
and
42 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
tags: | ||
- template | ||
- aiPrompt | ||
- meta | ||
|
||
description: "Rewrite current paragraph or selected text to fix and improve grammar." | ||
aiprompt: | ||
description: "Rewrite current paragraph or selected text to fix and improve grammar." | ||
chat: true | ||
enrichMessages: true | ||
insertAt: replace-smart | ||
--- | ||
|
||
**user**: [enrich:false] I’ll provide the note contents, and instructions. | ||
**assistant**: What is the note title? | ||
**user**: [enrich:true] {{@page.name}} | ||
**assistant**: What are the note contents? I will only use this as context. | ||
**user**: [enrich:true] | ||
{{@currentPageText}} | ||
**assistant**: What text should be rewritten? | ||
**user**: [enrich:true] {{@smartReplaceText}} | ||
**assistant**: What are the instructions? | ||
**user**: [enrich:false] Rewrite the provided text. Keep the meaning and facts the same. Return ONLY the rewritten text, no other information or preamble. Correct and improve the grammar. Keep as much of the original text as possible. Preserve existing formatting such as indenting and bullets. |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
tags: | ||
- template | ||
- aiPrompt | ||
- meta | ||
|
||
description: "Rewrite current paragraph or selected text to be more professional" | ||
aiprompt: | ||
description: "Rewrite current paragraph or selected text to be more professional" | ||
chat: true | ||
enrichMessages: true | ||
insertAt: replace-smart | ||
--- | ||
|
||
**user**: [enrich:false] I’ll provide the note contents, and instructions. | ||
**assistant**: What is the note title? | ||
**user**: [enrich:true] {{@page.name}} | ||
**assistant**: What are the note contents? I will only use this as context. | ||
**user**: [enrich:true] | ||
{{@currentPageText}} | ||
**assistant**: What text should be rewritten? | ||
**user**: [enrich:true] {{@smartReplaceText}} | ||
**assistant**: What are the instructions? | ||
**user**: [enrich:false] Rewrite the provided text. Keep the meaning and facts the same. Remove extra or redundant words. Stay concise. Maintain a professional and neutral tone. Return ONLY the rewritten text, no other information or preamble. Preserve existing formatting such as indenting and bullets. |
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
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
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
Oops, something went wrong.