slackapi / slackapi/bolt-python

get_thread_context within a thread - way to get thread_ts?

オープン
#1,301 コメント 12 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

auto-triage-skip enhancement question server-side
主要言語
Python
スター
1.3k
フォーク
288
平均マージ
1日 8時間
マージ済み PR(30日)
10

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、issue に記載されている get_thread_context の動作と、thread context および thread_ts に関する Slack API のドキュメントを確認します。Bolt for Python で、開いている Slack スレッドの thread handle を公開できるかどうかを判断します。要約のために thread context を取得するサポートされた方法が特定または文書化された時点でのみ、作業は完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
api
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。