marks
commited on
Commit
·
30225d1
1
Parent(s):
2ca982d
Updated the system prompt to be more natural
Browse files- api_clients.py +10 -1
api_clients.py
CHANGED
|
@@ -85,7 +85,16 @@ class OpenRouterClient:
|
|
| 85 |
logger.error("Prompt too short or missing")
|
| 86 |
raise ValueError("Please provide a more detailed prompt")
|
| 87 |
|
| 88 |
-
system_prompt = "You are
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
user_prompt = f"""Write a podcast script based on the following content. Make it engaging and easy to follow.
|
| 90 |
|
| 91 |
Context: {prompt if prompt else 'Create an informative and engaging podcast episode'}
|
|
|
|
| 85 |
logger.error("Prompt too short or missing")
|
| 86 |
raise ValueError("Please provide a more detailed prompt")
|
| 87 |
|
| 88 |
+
system_prompt = """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
|
| 95 |
+
7. Include vocal variety cues through punctuation
|
| 96 |
+
8. Write as if speaking directly to the listener"""
|
| 97 |
+
|
| 98 |
user_prompt = f"""Write a podcast script based on the following content. Make it engaging and easy to follow.
|
| 99 |
|
| 100 |
Context: {prompt if prompt else 'Create an informative and engaging podcast episode'}
|