File size: 303 Bytes
d42c36e
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from Agent_Chat_Classification import analyze_message

user_id = "6d58b9dd-4c1a-4ef6-8610-ed80ef067b90"
username = "user_lollo632"
user_msg_en = "what do you think about luck?"

analysis = analyze_message(user_id, user_msg_en)

print(analysis["topic_for_story"] )
print(analysis.get("topic_for_story") )