pvanand commited on
Commit
b643afb
·
verified ·
1 Parent(s): e72dc1b

Update presentation_api.py

Browse files
Files changed (1) hide show
  1. presentation_api.py +11 -1
presentation_api.py CHANGED
@@ -43,7 +43,17 @@ def plan(slides_json: str) -> tuple[str, dict]:
43
 
44
  @tool(response_format="content_and_artifact")
45
  def create_slide(slide_number: int, content: str, config: RunnableConfig) -> tuple[str, dict]:
46
- """Tool to create a full slide with the proposed content plan. Create content according to the plan and follow marp specifications to improve the design"""
 
 
 
 
 
 
 
 
 
 
47
  # Integration with slide creation API or template would go here
48
  slide = {
49
  "number": slide_number,
 
43
 
44
  @tool(response_format="content_and_artifact")
45
  def create_slide(slide_number: int, content: str, config: RunnableConfig) -> tuple[str, dict]:
46
+ """Tool to create a full slide with the proposed content plan. Create content according to the plan, include images <!-- Title Slide -->
47
+ <style scoped>
48
+ </style>
49
+ # Title
50
+ <div class="subtitle"></div>
51
+ <div class="logo"></div>
52
+ <div class="date"></div>
53
+ ![bg right:40%](https://picsum.photos/400/600)
54
+ ---
55
+ add styles to design a beutiful presentation, add a modern feel, add images using marp syntax and https://picsum.photos/200/300 (width & height)
56
+ """
57
  # Integration with slide creation API or template would go here
58
  slide = {
59
  "number": slide_number,