Skip to content

Commit

Permalink
Update to completion
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthebrit committed Feb 7, 2025
1 parent 549e670 commit 8fa8f6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion AI/getcompletion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ function Edit-TextSegment {
$messages = @()
$messages += @{
role = 'system'
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.'
}
$messages += @{
role = 'user'
Expand Down
2 changes: 1 addition & 1 deletion Python/AzureReadSecret.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@

# Store the value of the secret into a variable
secret_message = secret.value
print("Fetched secret value - " + secret_message)
print("Fetched secret value - " + secret_message)
Binary file added Whiteboards/FilesProvisionedv2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8fa8f6d

Please sign in to comment.