Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|