Last active
September 17, 2023 12:43
-
-
Save dfinke/582901564859cd4e55ddd5bd968be14c to your computer and use it in GitHub Desktop.
This PowerShell script cleans up a YouTube transcript, from the Clipboard, for meeting notes
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
#Requires -Modules PowerShellAI | |
$str = Get-Clipboard | |
$prompt = " | |
Clean up this copy-paste from YouTube and make it suitable for pasting into Notion as meeting notes. | |
- Remove time stamps | |
- Remove line breaks | |
- Grammar, spell check and proper punctuation | |
$str | |
" | |
gpt $prompt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment