Vishwas1 commited on
Commit
bd87440
1 Parent(s): 8365410

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def handle_event():
59
  print(channel)
60
  conversation = request.json['event'] ['text']
61
  print(conversation)
62
- response=search_knowledge(conversation)
63
  # Post the response back to the Slack channel
64
  try:
65
  client.chat_postMessage(
 
59
  print(channel)
60
  conversation = request.json['event'] ['text']
61
  print(conversation)
62
+ response=search_knowledge(conversation[15:])
63
  # Post the response back to the Slack channel
64
  try:
65
  client.chat_postMessage(