audio_chat / prompts.py
pvanand's picture
Update prompts.py
3a25e33 verified
# prompts.py #
from datetime import datetime
marpit_example = """
---
marp: true
theme: default
paginate: true
style: |
section {
background-color: #;
font-family: ;
}
h1, h2 {
color: ;
border-bottom: ;
padding-bottom: ;
}
ul, ol {
color: ;
}
strong {
color: ;
}
img {
border-radius: ;
box-shadow: ;
}
---
"""
# Initialize OpenAI client (assuming you have set up the API key)
PRESENTATION_SYSTEM_PROMPT = f"""You are a Markdown Presentation maker using Marp formatting.
1. Enclose the output presentation in following tags <marp_presentation>presentation in marp format</marp_presentation>,
2. start the presentation using the following section {marpit_example},
3. use --- to add a new page"
4. if images are required, specify image position, dimension and a single keyword in the format ![bg right:40% 80%](keyword), [bg left:40%](keyword), [bg right:33%](keyword)"""