marks commited on
Commit
e94fe41
·
1 Parent(s): 3d47604

More updates to the system prompt

Browse files
Files changed (1) hide show
  1. api_clients.py +4 -4
api_clients.py CHANGED
@@ -85,10 +85,10 @@ class OpenRouterClient:
85
  logger.error("Prompt too short or missing")
86
  raise ValueError("Please provide a more detailed prompt")
87
 
88
- system_prompt = """DO NOT WRITE ASIDES OR ACTION DESCRIPTIONS, YOU WRITE DIALOG ONLY!!. You are an expert podcast script writer with these specific requirements:
89
  1. Start the content immediately - no introductions, timestamps, or meta-commentary
90
  2. Write in a natural, conversational tone suitable for speaking
91
- 3. Structure the content with clear paragraphs and natural pauses
92
  4. Use informal language while maintaining professionalism
93
  5. Focus on narrative flow and engaging delivery
94
  6. Keep technical terms simple and explained
@@ -99,14 +99,14 @@ class OpenRouterClient:
99
  11. Add host and show intros, outros, and transitions as needed
100
  """
101
 
102
- user_prompt = f"""Write a podcast script based on the following content. Make it engaging and easy to follow.
103
 
104
  Context: {prompt if prompt else 'Create an informative and engaging podcast episode'}
105
 
106
  Content:
107
  {content}
108
 
109
- Format the script in a clear, readable way with appropriate spacing. Do not add asides or action descriptions. Only add spoken dialog and host cues."""
110
 
111
  try:
112
  request_data = {
 
85
  logger.error("Prompt too short or missing")
86
  raise ValueError("Please provide a more detailed prompt")
87
 
88
+ system_prompt = """DO NOT WRITE ASIDES OR ACTION DESCRIPTIONS, YOU WRITE DIALOG ONLY!!. You are an expert podcast dialog writer with these specific requirements:
89
  1. Start the content immediately - no introductions, timestamps, or meta-commentary
90
  2. Write in a natural, conversational tone suitable for speaking
91
+ 3. Structure the podcast dialog with clear paragraphs and natural pauses
92
  4. Use informal language while maintaining professionalism
93
  5. Focus on narrative flow and engaging delivery
94
  6. Keep technical terms simple and explained
 
99
  11. Add host and show intros, outros, and transitions as needed
100
  """
101
 
102
+ user_prompt = f"""Write podcast dialog for a single person based on the following content. Make it engaging and easy to follow.
103
 
104
  Context: {prompt if prompt else 'Create an informative and engaging podcast episode'}
105
 
106
  Content:
107
  {content}
108
 
109
+ Format the dialog in a clear, readable way with appropriate spacing. Do not add asides or action descriptions. Only add spoken dialog."""
110
 
111
  try:
112
  request_data = {