Skip to content

Commit e008553

Browse files
feedback
1 parent 9712cfa commit e008553

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/english/concepts/message-sending.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ You can have your app's messages stream in to replicate conventional AI chatbot
4949
* [`chat_appendStream`](/reference/methods/chat.appendstream)
5050
* [`chat_stopStream`](/reference/methods/chat.stopstream)
5151

52-
The Python Slack SDK provides a [`chat_stream()`](/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)
52+
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)
5353

5454
```python
5555
streamer = client.chat_stream(
@@ -59,6 +59,7 @@ streamer = client.chat_stream(
5959
thread_ts=thread_ts,
6060
)
6161

62+
# response from your LLM of choice; OpenAI is the example here
6263
for event in returned_message:
6364
if event.type == "response.output_text.delta":
6465
streamer.append(markdown_text=f"{event.delta}")

0 commit comments

Comments
 (0)