Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,6 +24,7 @@ def search_knowledge(prompt):
|
|
| 24 |
searchstring="Find {"+prompt+"}"
|
| 25 |
information = sf.search(searchstring)
|
| 26 |
df = pd.DataFrame(information['searchRecords'])
|
|
|
|
| 27 |
for i in (df.index):
|
| 28 |
slack_msg=slack_msg+df['Id'][i]
|
| 29 |
except requests.exceptions.RequestException as e:
|
|
|
|
| 24 |
searchstring="Find {"+prompt+"}"
|
| 25 |
information = sf.search(searchstring)
|
| 26 |
df = pd.DataFrame(information['searchRecords'])
|
| 27 |
+
print(df)
|
| 28 |
for i in (df.index):
|
| 29 |
slack_msg=slack_msg+df['Id'][i]
|
| 30 |
except requests.exceptions.RequestException as e:
|