File size: 695 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
import asyncio
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

async def verify():
    print("--- Verifying Prayer Service ---")
    prayer = await prayer_service.compose(topic="healing for a friend", emotion="anxious")
    print(f"\n[Prayer Output]:\n{prayer}\n")
    
    print("-" * 20)
    
    print("--- Verifying Discernment Service ---")
    guidance = await discernment_service.guide(situation="Should I move to a new city?", emotion="uncertain")
    print(f"\n[Discernment Output]:\n{guidance}\n")

if __name__ == "__main__":
    asyncio.run(verify())