Skip to content

Commit

Permalink
Updated about message slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
lperezmo authored Jul 15, 2024
1 parent 0dcdac4 commit a9bdbd1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions onsite_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def process_incoming_message(PIN, incoming_message, send_to, send_from):
"""
if incoming_message.strip() == PIN:
return """Welcome to the new internal Hess Services SMS AI service.
- I can lookup general information about jobs, parts, sales orders,
- among others.
- I can lookup general information about jobs, parts, parts where used, inventory on hand, serial numbers, etc.
- I can also email you.
- Text 'about' to see this message again"""
else:
messages = CLIENT.messages.list(from_=send_to, to=send_from)
Expand Down Expand Up @@ -103,9 +103,10 @@ def get_follow_up_text(send_to, send_from, incoming_message):
message : str
Response from the AI to the user
"""
if incoming_message == 'about':
return """Welcome to the new internal Hess Services SMS AI service.
- I can lookup general information about jobs, parts, sales orders, inventory on hand, serial numbers, etc.
if incoming_message == 'about':
return """Welcome to the new internal Hess Services SMS AI service.
- I can lookup general information about jobs, parts, parts where used, inventory on hand, serial numbers, etc.
- I can also email you.
- Text 'about' to see this message again"""
else:
result = save_sms_to_sqs(send_to, incoming_message)
Expand Down

0 comments on commit a9bdbd1

Please sign in to comment.