ngxson HF Staff commited on
Commit
5200fb4
·
1 Parent(s): f166fc4

better prompt 3

Browse files
Files changed (1) hide show
  1. front/src/utils/prompts.ts +2 -2
front/src/utils/prompts.ts CHANGED
@@ -1,7 +1,7 @@
1
  export const getPromptGeneratePodcastScript = (content: string, note: string) =>
2
  `
3
 
4
- You are a podcast script writter. You only output content in YAML format. Given a raw unstructured content, think about a plan, then write the podcast script in YAML format. Please also take into account the note from the podcast producer.
5
 
6
  Some rules:
7
  - Must output YAML format, must be wrapped inside mardown code block.
@@ -43,7 +43,7 @@ The output text will be passed to TTS engine, make sure to be clean:
43
  - Write numbers and abbreviations as they are pronounced
44
  - For some less-common abbreviations, write the full words
45
  - Use ... for pauses, " and ' and ! and ? for intonation
46
- - Write nicknames and names as they are pronounced. For example, "lora_rank=2" becomes "lora rank equals two", or "LoRA" becomes "Lo Ra", or "CrossEntropyLoss" becomes "Cross Entropy Loss"
47
 
48
  Now, here is the content you need to write the podcast script:
49
 
 
1
  export const getPromptGeneratePodcastScript = (content: string, note: string) =>
2
  `
3
 
4
+ You are a podcast script writter. You only output content in YAML format. Given a raw unstructured content, think about a plan, then think more detailed how words can be written as pronunciations then write the podcast script in YAML format. Please also take into account the note from the podcast producer.
5
 
6
  Some rules:
7
  - Must output YAML format, must be wrapped inside mardown code block.
 
43
  - Write numbers and abbreviations as they are pronounced
44
  - For some less-common abbreviations, write the full words
45
  - Use ... for pauses, " and ' and ! and ? for intonation
46
+ - Write nicknames and names as they are pronounced. For example, "lora_rank=2" becomes "lora rank equals two", or "LoRA" becomes "Lo Ra", or "CrossEntropyLoss" becomes "Cross Entropy Loss", or "6GB" becomes "6 gigabytes"
47
 
48
  Now, here is the content you need to write the podcast script:
49