igrisds commited on
Commit
9ad56d1
1 Parent(s): 91db358

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -112,7 +112,7 @@ def ask_ds(message, history):
112
  if message.lower().strip() in ['csr', 'qa']:
113
  employee_type = message.lower().strip()
114
  authenticated = True
115
- EXTRACTIONS_PATH = EXTRACTIONS_PATH.replace('{employee_type}', employee_type).replace('{division}', division)
116
  extractions = read_json_from_s3()
117
  return "Welcome to Ask Dane Street! Whether you're new to the team or just looking for some quick information, I'm here to guide you through our company's literature and platform. Simply ask your question, and I'll provide you with the most relevant information I can."
118
  else:
 
112
  if message.lower().strip() in ['csr', 'qa']:
113
  employee_type = message.lower().strip()
114
  authenticated = True
115
+ EXTRACTIONS_PATH = EXTRACTIONS_PATH.replace('{employee_type}', employee_type).replace('{division}', division[:3])
116
  extractions = read_json_from_s3()
117
  return "Welcome to Ask Dane Street! Whether you're new to the team or just looking for some quick information, I'm here to guide you through our company's literature and platform. Simply ask your question, and I'll provide you with the most relevant information I can."
118
  else: