Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/english/concepts/ai-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,9 @@ See the [_Adding and handling feedback_](#adding-and-handling-feedback) section

Three Web API methods work together to provide users a text streaming experience:

* the [`chat.startStream`](/reference/methods/chat.startstream) method starts the text stream,
* the [`chat.appendStream`](/reference/methods/chat.appendstream) method appends text to the stream, and
* the [`chat.stopStream`](/reference/methods/chat.stopstream) method stops it.
* the [`chat.startStream`](/reference/methods/chat.startStream) method starts the text stream,
* the [`chat.appendStream`](/reference/methods/chat.appendStream) method appends text to the stream, and
* the [`chat.stopStream`](/reference/methods/chat.stopStream) method stops it.

Since you're using Bolt for Python, built upon the Python Slack SDK, you can use the [`chat_stream()`](https://docs.slack.dev/tools/python-slack-sdk/reference/web/client.html#slack_sdk.web.client.WebClient.chat_stream) utility to streamline all three aspects of streaming in your app's messages.

Expand Down
6 changes: 3 additions & 3 deletions docs/english/concepts/message-sending.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ def show_datepicker(event, say):

You can have your app's messages stream in to replicate conventional AI chatbot behavior. This is done through three Web API methods:

* [`chat_startStream`](/reference/methods/chat.startstream)
* [`chat_appendStream`](/reference/methods/chat.appendstream)
* [`chat_stopStream`](/reference/methods/chat.stopstream)
* [`chat_startStream`](/reference/methods/chat.startStream)
* [`chat_appendStream`](/reference/methods/chat.appendStream)
* [`chat_stopStream`](/reference/methods/chat.stopStream)

The Python Slack SDK provides a [`chat_stream()`](https://docs.slack.dev/tools/python-slack-sdk/reference/web/client.html#slack_sdk.web.client.WebClient.chat_stream) helper utility to streamline calling these methods. Here's an excerpt from our [Assistant template app](https://github.com/slack-samples/bolt-python-assistant-template):

Expand Down
2 changes: 1 addition & 1 deletion docs/japanese/concepts/select-menu-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

`options()` メソッドは、Slack からのオプション(セレクトメニュー内の動的な選択肢)をリクエストするペイロードをリッスンします。 [`action()` と同様に](/tools/bolt-python/concepts/actions)、文字列型の `action_id` または制約付きオブジェクトが必要です。

外部データソースを使って選択メニューをロードするためには、末部に `/slack/events` が付加された URL を Options Load URL として予め設定しておく必要があります。
外部データソースを使って選択メニューをロードするためには、末部に `/slack/events` が付加された URL を Options Load URL として予め設定しておく必要があります。
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

an invisible character here was giving us warnings


`external_select` メニューでは `action_id` を指定することをおすすめしています。ただし、ダイアログを利用している場合、ダイアログが Block Kit に対応していないため、`callback_id` をフィルタリングするための制約オブジェクトを使用する必要があります。

Expand Down