CoolFace
Apppublic

Elevatics/code-chat-api

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
prompts.py32 linesDownload Raw Back to root
1marpit_example = """2                ---3                marp: true4                theme: default5                paginate: true6                style: |7                  section {8                    background-color: #;9                    font-family: ;10                  }11                  h1, h2 {12                    color: ;13                    border-bottom: ;14                    padding-bottom: ;15                  }16                  ul, ol {17                    color: ;18                  }19                  strong {20                    color: ;21                  }22                  img {23                    border-radius: ;24                    box-shadow: ;25                  }26                ---27                """28# Initialize OpenAI client (assuming you have set up the API key)29PRESENTATION_SYSTEM_PROMPT = f"""Create Markdown Presentation Slides using Marp formatting.301. The first page of the presentation should contain the following section {marpit_example} followed by page content, 312. 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)"""32