slackapi / slackapi/bolt-python
get_thread_context within a thread - way to get thread_ts?
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 1.3k
- Forks
- 288
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 10
Beschreibung
I'm building an AI app in Slack, and I'm looking to have the bot help with thread summarization. If I open the AI widget when I have a thread open and have the bot call "get_thread_context", I get back the following:
{'channel_id': 'C08MY3JQDRN', 'team_id': 'T08MY3H9SGG', 'enterprise_id': 'E08MLKPKWCR', 'thread_entry_point': 'sunroof', 'force_search': False}
Note that that doesn't include the thread_ts or any real "handle" into the thread that I'm looking at in my main panee - it's just the channel at large. Is there a way to use the "get_thread_context" or something similar to get a handle into the thread so my AI bot can perform a thread summarization?
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das im Issue beschriebene Verhalten von get_thread_context sowie die Slack API-Dokumentation zu thread context und thread_ts zu prüfen. Ermittle, ob Bolt for Python ein Thread-Handle für den offenen Slack-Thread bereitstellen kann; die Arbeit ist erst abgeschlossen, wenn eine unterstützte Möglichkeit zum Abrufen des thread context für die Zusammenfassung identifiziert oder dokumentiert wurde.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- api
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100