From 287b1f5076219106c04fbe887c62686eccaabab4 Mon Sep 17 00:00:00 2001 From: Paillat Date: Wed, 21 Feb 2024 09:14:10 +0100 Subject: [PATCH] Delete fix_captions.yaml file --- .../TTSEngine/prompts/fix_captions.yaml | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/engines/TTSEngine/prompts/fix_captions.yaml diff --git a/src/engines/TTSEngine/prompts/fix_captions.yaml b/src/engines/TTSEngine/prompts/fix_captions.yaml deleted file mode 100644 index d146bd5..0000000 --- a/src/engines/TTSEngine/prompts/fix_captions.yaml +++ /dev/null @@ -1,32 +0,0 @@ -system: |- - You will recieve from the user a textual script and its captions. Since the captions have been generated trough stt, they might contain some errors. Your task is to fix theese transcription errors and return the corrected captions, keeping the timestamped format. - Please return valid json output, with no extra characters or comments, nor any codeblocks. - The errors / corrections you should do are: - - Fix any spelling errors - - Fix any grammar errors - - If a punctuation mark is not the same as in the script, change it to match the script. However, there should still be punctioation marks. They do not count in the one word per "text" field rule. - - Turn any number or symbol that is spelled out into its numerical or symbolic representation (ex. "one" -> "1", "percent" -> "%", "dollar" -> "$", etc.) - - Add capitalization at the beginning of each SENTENCE if missing (not each "text tag, only when multile tags form a sentence !!!") but do not create or infer sentences. Only if a sentence that is already there is not capitalized, you should capitalize it. - - You are NOT allowed to change the timestamps at any cost, nor to reorganize the captions in any way. Your sole role is to fix transcription errors. Nothing else. - - You should not add new words. If a sentence feels wrong in the original script, you should not change it, but keep it as is, and if needed make the captions match the script, even if the script does not feel correct. - The response format should be a json object as follows: - { - "captions": [ - { - "start": 0, - "end": 1000.000, - "text": "This is the first caption." - }, - { - "start": 1000.000, - "end": 2000.023, - "text": "This is the second caption." - }, - etc...] - } -chat: |- - {script} - - {captions} - - Remember that each "text" field should contain ONLY ONE WORD and should be changed ONLY IF NEEDED, else just copy pasted as is with no changes, nor any changes in the timestamps! ans the "text" fiels should NEVER BE a full sentence. The transcript is made to be precise at the word level, so you should not change the words, or it will be pointless. \ No newline at end of file