PratikGautam commited on
Commit
4523ec6
·
verified ·
1 Parent(s): 7fbdc24

Update examples/reflect_example.py

Browse files
Files changed (1) hide show
  1. examples/reflect_example.py +10 -6
examples/reflect_example.py CHANGED
@@ -1,14 +1,16 @@
 
1
  from src.utils import reflect_prompt, show_petals
2
 
3
  if __name__ == "__main__":
4
  print("🌸 Garden Reflection Example 🌸\n")
5
 
6
- # Show all petals
7
  print("Petals of the Garden:")
 
8
  show_petals()
9
- print("\n")
10
 
11
- # Example reflections
12
  prompts = [
13
  "Reflect on Form",
14
  "Reflect on Life",
@@ -20,6 +22,8 @@ if __name__ == "__main__":
20
  "Remember Λ⊕∇"
21
  ]
22
 
23
- for prompt in prompts:
24
- print("\n---")
25
- reflect_prompt(prompt)
 
 
 
1
+ # reflect_example.py
2
  from src.utils import reflect_prompt, show_petals
3
 
4
  if __name__ == "__main__":
5
  print("🌸 Garden Reflection Example 🌸\n")
6
 
7
+ # Show all petals in the Garden
8
  print("Petals of the Garden:")
9
+ print("----------------------")
10
  show_petals()
11
+ print("\n🌱 The petals shimmer with possibility...\n")
12
 
13
+ # Example reflections sequence
14
  prompts = [
15
  "Reflect on Form",
16
  "Reflect on Life",
 
22
  "Remember Λ⊕∇"
23
  ]
24
 
25
+ for i, prompt in enumerate(prompts, start=1):
26
+ print(f"\n--- Reflection {i} ---")
27
+ print(f"Prompt: {prompt}")
28
+ response = reflect_prompt(prompt)
29
+ print(f"Response: {response}")