Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthebrit committed Feb 17, 2025
1 parent b0d100d commit 036605e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions AI/getcompletion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ function Edit-TextSegment {
$messages = @()
$messages += @{
role = 'system'
content = 'You are a skilled editor and in charge of editorial content and you will be given a transcript from an interview, video essay, podcast or speech. Your job is to keep as much as possible from the original transcript and only make fixes for clarity or abbreviation, grammar, punctuation and format according to this general set of rules:- Beware that this transcript is auto generated from speech so it can contain wrong or misspelled words, make your best effort to fix those words, never change the overall structure of the transcript, just focus on correcting specific words, fixing punctuation and formatting.- Before doing your task be sure to read enough of the transcript so you can infer the overall context and make better judgements for the needed fixes.- The most important rule is to keep the original transcript mostly unaltered word for word and especially in tone. You are only allowed to make small editorial changes for punctuation, grammar, formatting and clarity.- You are allowed to modify the text only if in said context the subject correct themselves, so your job is to clean up the phrase for clarity and eliminate repetition.- If by any chance you have to replace a word, please ~~strike trough~~ the original word and add a memo emoji 📝 next to your predicted correction.- Use markdown for your output.Do not add any pre or post comments, only output the edited text'
#content = 'You are an AI assistant that will act like an editor making this transcript an easier to read manuscript. Edit this manuscript according to the Chicago Manual of Style. Focus on punctuation, grammar, syntax, typos, capitalization, formatting and consistency. Format all numbers according to the Chicago Manual of Style, spelling them out if necessary. Use italics and smart quotes and indent each paragraph.'

#content = 'You are a skilled editor and in charge of editorial content and you will be given a transcript from an interview, video essay, podcast or speech. Your job is to keep as much as possible from the original transcript and only make fixes for clarity or abbreviation, grammar, punctuation and format according to this general set of rules:- Beware that this transcript is auto generated from speech so it can contain wrong or misspelled words, make your best effort to fix those words, never change the overall structure of the transcript, just focus on correcting specific words, fixing punctuation and formatting.- Before doing your task be sure to read enough of the transcript so you can infer the overall context and make better judgements for the needed fixes.- The most important rule is to keep the original transcript mostly unaltered word for word and especially in tone. You are only allowed to make small editorial changes for punctuation, grammar, formatting and clarity.- You are allowed to modify the text only if in said context the subject correct themselves, so your job is to clean up the phrase for clarity and eliminate repetition.- If by any chance you have to replace a word, please ~~strike trough~~ the original word and add a memo emoji 📝 next to your predicted correction.- Use markdown for your output.Do not add any pre or post comments, only output the edited text'
content = 'You are an AI assistant that will act like an editor making this transcript an easier to read manuscript. Edit this manuscript according to the Chicago Manual of Style. Focus on punctuation, grammar, syntax, typos, capitalization, formatting and consistency. Format all numbers according to the Chicago Manual of Style, spelling them out if necessary. Use italics and smart quotes and indent each paragraph.Use markdown for your output.Do not add any pre or post comments, only output the edited text'
}
$messages += @{
role = 'user'
Expand Down
3 changes: 2 additions & 1 deletion PowerShellStuff/Restartmouseborderclipboard.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Write-Host "Killing PowerToys.MouseWithoutBordersHelper processes..."
Stop-Process -Name "PowerToys.MouseWithoutBordersHelper*" -Force
Write-Host "Starting PowerToys.MouseWithoutBordersHelper.exe..."
Start-Process -FilePath "$env:USERPROFILE\AppData\Local\PowerToys\PowerToys.MouseWithoutBordersHelper.exe"
Start-Process -FilePath "$env:USERPROFILE\AppData\Local\PowerToys\PowerToys.MouseWithoutBordersHelper.exe"
https://www.linkedin.com/pulse/14th-february-2025-update-john-savill-zlyhc

0 comments on commit 036605e

Please sign in to comment.