Skip to content

Commit 672b47e

Browse files
authored
Docs: update ai slack bot article (#625)
* Docs: update ai slack bot article * Docs: update ai slack bot article
1 parent 949ce06 commit 672b47e

File tree

6 files changed

+46
-49
lines changed

6 files changed

+46
-49
lines changed

en/SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@
220220
* [Integrating Dify Chatbot into Your Wix Website](learn-more/use-cases/how-to-integrate-dify-chatbot-to-your-wix-website.md)
221221
* [How to connect with AWS Bedrock Knowledge Base?](learn-more/use-cases/how-to-connect-aws-bedrock.md)
222222
* [Building the Dify Scheduler](learn-more/use-cases/dify-schedule.md)
223+
* [Building an AI Thesis Slack Bot on Dify](learn-more/use-cases/building-an-ai-thesis-slack-bot.md)
223224
* [Extended Reading](learn-more/extended-reading/README.md)
224225
* [What is LLMOps?](learn-more/extended-reading/what-is-llmops.md)
225226
* [Retrieval-Augmented Generation (RAG)](learn-more/extended-reading/retrieval-augment/README.md)

zh_CN/learn-more/use-cases/Building an AI Thesis Slack Bot on Dify Cloud.md en/learn-more/use-cases/building-an-ai-thesis-slack-bot.md

+20-22
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
### Building an AI Thesis Slack Bot on Dify Cloud
1+
# Building an AI Thesis Slack Bot on Dify Cloud
22

3-
### (Integrating ArXiv, LLM, and Slack)
3+
> Author:Alec Lee. 2025/03/11
44
5-
Author:Alec Lee
6-
2025/03/11
7-
8-
### 1. Overview
5+
## 1. Overview
96

107
With the rapid growth of academic research in the information age, researchers require more efficient ways to access the latest findings. The AI Thesis Slack Bot streamlines this process by leveraging AI-driven automated workflows, enabling users to quickly retrieve arXiv paper summaries within Slack.
118

@@ -17,27 +14,27 @@ This tool can be used in various real estate-related contexts, such as:
1714

1815
This guide will walk you through setting up the AI Thesis Slack Bot, its core operating principles, and how to maximize its efficiency to enhance productivity in the real estate sector.
1916

20-
### 2. Preparation
17+
## 2. Preparation
2118

22-
#### 2.1 Configuring the OpenAI API
19+
### 2.1 Configuring the OpenAI API
2320

2421
Set up OpenAI in your account’s model settings and install the API key.
2522

2623
![API](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/001API.jpg)
2724

28-
#### 2.2 Installing ArXiv and Slack Plugins
25+
### 2.2 Installing ArXiv and Slack Plugins
2926

3027
Install the ArXiv and Slack tools within the Dify platform.
3128

32-
![Slack ArXiv](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/002SlackArXiv.jpg)
29+
<img src="https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/002SlackArXiv.jpg" alt="Slack ArXiv" width="400"/>
3330

34-
#### 2.3 Creating a Slack Account
31+
### 2.3 Creating a Slack Account
3532

3633
Sign up for a free Slack account on the [official Slack website](https://slack.com/intl/en-gb/get-started?entry_point=help_center#/createnew).
3734

3835
![Slack](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/003SlackAccount.jpg)
3936

40-
### 3. Setting Up the AI Thesis Slack Bot Workflow
37+
## 3. Setting Up the AI Thesis Slack Bot Workflow
4138

4239
The AI Thesis Slack Bot operates through the following automated process:
4340

@@ -49,12 +46,13 @@ The AI Thesis Slack Bot operates through the following automated process:
4946
📄 **Title:** \[Paper Title\]
5047
👤 **Author(s):** \[Author Names\]
5148
📆 **Publication Date:** \[Date\]
52-
📌 **Summary:** \[Key takeaways from the paper\]
49+
📌 **Summary:** \[Key takeaways from the paper\]
50+
5351
**d.Automated Slack Push:** The bot automatically posts the summary to a designated Slack channel, ensuring that team members can quickly access the latest research updates—whether in a public channel or private messages.
5452

55-
### 4. Implementation Steps
53+
## 4. Implementation Steps
5654

57-
#### 4.1 Creating the Workflow
55+
### 4.1 Creating the Workflow
5856

5957
a. On the Dify homepage, select Create from Blank, then choose Workflow and enter a name (e.g., *AI Thesis Slack Bot*).
6058

@@ -66,15 +64,15 @@ b. In the Tools section, select the ArXiv Search tool that has already been inst
6664

6765
![Tools ArXiv](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/005ToolsArXiv.jpg)
6866

69-
c. In the Blocks section, choose LLM, and configure it to use the pre-set OpenAI model.
67+
c. In the Nodes section, choose LLM, and configure it to use the pre-set OpenAI model.
7068

7169
![LLM](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/006LLM.jpg)
7270

7371
d. In the Tools section, select the installed Slack Incoming Webhook, click Authorize, and add the Slack Webhook URL.
7472

7573
![Slack Incoming Webhook](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/007Slackincomingwebhook.jpg)
7674

77-
##### 4.2 Adding the Slack Webhook URL
75+
#### 4.2 Adding the Slack Webhook URL
7876

7977
a. Go to the [Slack API Management Page](https://api.slack.com/apps) and click Create New App.
8078

@@ -96,15 +94,15 @@ e. After selecting End as the final node in the workflow, ensure that all workfl
9694

9795
![End](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/012End.jpg)
9896

99-
##### 4.3 Configuring Node Parameters
97+
#### 4.3 Configuring Node Parameters
10098

10199
a. Start Node: Set the keyword query parameters.
102100

103101
![Start](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/013StartNode.jpg)
104102

105103
b. ArXiv Search Node: Add the Query String content (adjustable based on requirements).
106104

107-
![ArXiv Search](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/014ArvPara.jpg)
105+
<img src="https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/014ArvPara.jpg" alt="ArXiv Search" width="400"/>
108106

109107
c. LLM Node: Select the AI model, add CONTEXT, customize Prompt Engineering in the SYSTEM section (modifiable as needed), and set Context in the USER section.
110108

@@ -114,7 +112,7 @@ d. Slack Node: In the Content field, select LLM/Text String.
114112

115113
![Slack Content](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/016SlackEndP.jpg)
116114

117-
#### 4.4 Testing and Deployment
115+
### 4.4 Testing and Deployment
118116

119117
a. Run a test before deployment to ensure the workflow functions correctly. Once verified, click Deploy.
120118

@@ -124,7 +122,7 @@ b. If the Dify search results match the Slack notifications, congratulations\! Y
124122

125123
![Last P](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/019LastPTest.jpg)
126124

127-
### 5. Future Optimization Directions
125+
## 5. Future Optimization Directions
128126

129127
Currently, the AI Thesis Slack Bot primarily focuses on ArXiv paper retrieval and summary delivery. Future improvements could include:
130128

@@ -134,6 +132,6 @@ Currently, the AI Thesis Slack Bot primarily focuses on ArXiv paper retrieval an
134132
✅ Personalized Recommendations: Suggesting relevant papers based on user interests.
135133
✅ Multi-Platform Support: Enabling compatibility with WhatsApp, Teams, WeChat, and more.
136134

137-
### 6. Conclusion
135+
## 6. Conclusion
138136

139137
With the AI Thesis Slack Bot, you can automate academic information retrieval, improving research team productivity. If you're interested in further unlocking its potential, consider integrating Dify with a Realtime API to develop advanced applications, such as real-time paper discussions and AI-powered Q\&A, allowing AI to play a greater role in academic collaboration and AI-driven research. 🚀

jp/SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@
220220
* [AWS Bedrockのナレッジベースに統合する方法](learn-more/use-cases/how-to-connect-aws-bedrock.md)
221221
* [Difyで大規模言語モデルの「競技場」を体験する方法:DeepSeek R1 VS o1 を例に](learn-more/use-cases/dify-model-arena.md)
222222
* [Difyスケジューラーの構築](learn-more/use-cases/dify-schedule.md)
223+
* [DifyクラウドでAI Thesis Slack Botを構築](learn-more/use-cases/building-an-ai-thesis-slack-bot.md)
223224
* [さらに読む](learn-more/extended-reading/README.md)
224225
* [LLMOpsとは何ですか?](learn-more/extended-reading/what-is-llmops.md)
225226
* [配列変数とは何ですか?](learn-more/extended-reading/what-is-array-variable.md)

zh_CN/learn-more/use-cases/DifyクラウドでAI Thesis Slack Botを構築.md jp/learn-more/use-cases/building-an-ai-thesis-slack-bot.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
### DifyクラウドでAI Thesis Slack Botを構築
1+
# DifyクラウドでAI Thesis Slack Botを構築
22

3-
### (ArXiv、LLM、Slackの統合)
4-
5-
著者:Alec Lee
6-
2025/03/11
3+
> 著者:Alec Lee。2025/03/11
74
85
## 1. 概要
96

@@ -29,7 +26,7 @@ OpenAIのアカウント設定画面で**モデルを設定** し、**APIキー
2926

3027
Difyのツール一覧から、**ArXiv検索ツール****Slack連携ツール** をインストールします。
3128

32-
![Slack ArXiv](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/002SlackArXiv.jpg)
29+
<img src="https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/002SlackArXiv.jpg" alt="Slack ArXiv" width="400"/>
3330

3431
### 2.3 Slackアカウントの作成
3532

@@ -99,7 +96,7 @@ a. Startノード: キーワード検索のパラメータを設定。
9996

10097
b. ArXiv Searchノード: Query String を追加(必要に応じてカスタマイズ可能)。
10198

102-
![ArXiv Search](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/014ArvPara.jpg)
99+
<img src="https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/014ArvPara.jpg" alt="ArXiv Search" width="400"/>
103100

104101
c. LLMノード: モデルの選択, CONTEXTの追加, SYSTEMでPrompt Engineeringを設定(必要に応じて調整),USERでContextを選択.
105102

zh_CN/SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@
227227
* [如何连接 AWS Bedrock 知识库?](learn-more/use-cases/how-to-connect-aws-bedrock.md)
228228
* [构建 Dify 应用定时任务助手](learn-more/use-cases/dify-schedule.md)
229229
* [如何在 Dify 内体验大模型“竞技场”?以 DeepSeek R1 VS o1 为例](learn-more/use-cases/dify-model-arena.md)
230+
* [在 Dify 云端构建 AI Thesis Slack Bot](learn-more/use-cases/building-an-ai-thesis-slack-bot.md)
230231
* [扩展阅读](learn-more/extended-reading/README.md)
231232
* [什么是 LLMOps?](learn-more/extended-reading/what-is-llmops.md)
232233
* [什么是数组变量?](learn-more/extended-reading/what-is-array-variable.md)

zh_CN/learn-more/use-cases/在Dify云上用ArXiv,LLM,Slack搭建AI Thesis Slack Bot.md zh_CN/learn-more/use-cases/building-an-ai-thesis-slack-bot.md

+19-20
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
### 在 Dify 云端构建 AI Thesis Slack Bot(结合 ArXiv、LLM、Slack)
1+
# 在 Dify 云端构建 AI Thesis Slack Bot
22

3-
作者:Alec Lee
4-
2025/03/11
3+
> 作者:Alec Lee。2025/03/11
54
6-
### 1. 概述
5+
## 1. 概述
76

87
随着信息时代的发展,学术研究的数量不断增长,研究人员需要更高效的方式获取最新的学术成果。AI Thesis Slack Bot 通过 AI 自动化工作流,帮助用户在 Slack 上快速获取 arXiv 论文的摘要。
98

@@ -15,27 +14,27 @@
1514

1615
本指南将向您介绍如何搭建 AI Thesis Slack Bot,其核心工作原理,以及如何高效利用它提高生产力。
1716

18-
### 2. 准备工作
17+
## 2. 准备工作
1918

20-
#### 2.1 配置 OpenAI API
19+
### 2.1 配置 OpenAI API
2120

2221
* 在帐户下的模型设置里配置 OpenAI 并安装 API 密钥。
2322

2423
![API](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/001API.jpg)
2524

26-
#### 2.2 安装 ArXiv 和 Slack 插件
25+
### 2.2 安装 ArXiv 和 Slack 插件
2726

2827
* 在 Dify 的工具里安装 **ArXiv****Slack**
2928

30-
![Slack ArXiv](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/002SlackArXiv.jpg)
29+
<img src="https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/002SlackArXiv.jpg" alt="Slack ArXiv" width="400"/>
3130

32-
#### 2.3 Slack 账户创建
31+
### 2.3 Slack 账户创建
3332

3433
*[Slack 官方网站](https://slack.com/intl/en-gb/get-started?entry_point=help_center#/createnew) 创建一个免费的 Slack 账户。
3534

3635
![Slack](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/003SlackAccount.jpg)
3736

38-
### 3. AI Thesis Slack Bot 的工作流搭建
37+
## 3. AI Thesis Slack Bot 的工作流搭建
3938

4039
a.用户在 Dify AI Thesis Slack Bot 里输入关键词(如"Large Language Model")。
4140

@@ -51,9 +50,9 @@ c.使用 GPT-4o 进行智能整理,读取论文并生成摘要,推送到 Sla
5150
d.机器人自动将摘要推送到 Slack,团队成员可以第一时间在 Slack 频道或私聊中查看最新的论文信息。
5251

5352

54-
### 4. 具体步骤
53+
## 4. 具体步骤
5554

56-
##### 4.1 创建工作流
55+
#### 4.1 创建工作流
5756

5857
a.在 Dify 主页面 选择 Create from Blank,然后选择 Workflow,输入名称(AI Thesis Slack Bot)。
5958

@@ -63,15 +62,15 @@ a.在 Dify 主页面 选择 Create from Blank,然后选择 Workflow,输入
6362

6463
![Tools ArXiv](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/005ToolsArXiv.jpg)
6564

66-
c.在 Blocks 里 选择 LLM,并设置已配置好的 OpenAI 模型。
65+
c.在节点里选择 LLM,并设置已配置好的 OpenAI 模型。
6766

6867
![LLM](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/006LLM.jpg)
6968

7069
d.在 Tools 里 选择已安装的 Slack Incoming Webhook 并点击 Authorize,添加 Slack Webhook URL。
7170

7271
![Slack Incoming Webhook](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/007Slackincomingwebhook.jpg)
7372

74-
##### 4.2 添加 Slack Webhook URL
73+
#### 4.2 添加 Slack Webhook URL
7574

7675
a.进入 [Slack API 管理页面](https://api.slack.com/apps),点击 **Create New App**(创建新应用)。
7776

@@ -93,15 +92,15 @@ e.选择工作流最后一个节点End后,整理工作节点组建都链接好
9392

9493
![End](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/012End.jpg)
9594

96-
##### 4.3 配置各个节点的参数
95+
#### 4.3 配置各个节点的参数
9796

9897
a.Start 节点:设置关键词查询参数。
9998

10099
![Start](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/013StartNode.jpg)
101100

102101
b.ArXiv Search 节点:添加 Query String 内容(可按需求调整)。
103102

104-
![ArXiv Search](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/014ArvPara.jpg)
103+
<img src="https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/014ArvPara.jpg" alt="ArXiv Search" width="400"/>
105104

106105
c.LLM 节点:选择模型,添加 CONTEXT,在 SYSTEM 里进行 Prompt Engineering(可按需求定制),在 USER 里选择 Context.
107106

@@ -111,17 +110,17 @@ d.Slack 节点:在 Content 里选择 LLM/Text String。
111110

112111
![Slack Content](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/016SlackEndP.jpg)
113112

114-
##### 4.4 测试和发布
113+
#### 4.4 测试和发布
115114

116115
a.在发布前 **试运行**,确认工作流程是否跑通后,点击 发布。
117116

118117
![Shiyunxing](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/018TestInupt.jpg)
119118

120-
b. 如果确认到Dify的搜索结果和Slack上的传输内容,恭喜您,跑通了。
119+
b. 如果确认到 Dify 的搜索结果和 Slack 上的传输内容,恭喜您,跑通了。
121120

122121
![Last P](https://raw.githubusercontent.com/aleclee1005/MyPic/refs/heads/img/019LastPTest.jpg)
123122

124-
### 5. 未来优化方向
123+
## 5. 未来优化方向
125124

126125
目前,AI Thesis Slack Bot 主要专注于 arXiv 论文检索和摘要推送,后续可以优化:
127126
✅ 提高摘要质量:改进 LLM Prompt 提高精准度。
@@ -130,6 +129,6 @@ b. 如果确认到Dify的搜索结果和Slack上的传输内容,恭喜您,
130129
✅ 个性化推荐:基于用户兴趣推送相关论文。
131130
✅ 多平台支持:兼容 WhatsApp、Teams、WeChat 等。
132131

133-
### 6. 结语
132+
## 6. 结语
134133

135134
通过 AI Thesis Slack Bot,您可以实现学术信息的智能自动化推送,提升研究团队的生产力。如果希望进一步探索 AI Thesis Bot 的潜能,可以结合 Dify 和 Realtime API,开发更高级的应用,如 实时论文讨论 和 智能问答,让 AI 在学术交流和 AI 应用中发挥更大作用! 🚀

0 commit comments

Comments
 (0)