Spaces:
Sleeping
Sleeping
File size: 869 Bytes
5e0532d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
import sys
import os
# Ensure app is in path
sys.path.append(os.getcwd())
from app.services.prayer import prayer_service
from app.services.discernment import discernment_service
def verify_prompts():
print("--- Verifying Prayer Service Prompt ---")
prompt = prayer_service.PROMPT.format(topic="[TOPIC]", emotion="[EMOTION]", scripture="[SCRIPTURE]")
print(prompt)
print("\n" + "-" * 20 + "\n")
print("--- Verifying Discernment Service Prompt ---")
guide_prompt = discernment_service.PROMPT.format(situation="[SITUATION]", emotion="[EMOTION]", scripture="[SCRIPTURE]")
print(guide_prompt)
# Simple checks
assert "You do NOT tell the user" in guide_prompt
assert "Does NOT make promises" in prompt
print("\n[SUCCESS] Prompts contain strict negative constraints.")
if __name__ == "__main__":
verify_prompts()
|