Skip to content

Commit b6bdcf7

Browse files
committed
rag
1 parent 056e04b commit b6bdcf7

File tree

3 files changed

+26
-5
lines changed

3 files changed

+26
-5
lines changed

Ai/DevPlatform.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ categories:
1616
- 3.3. [RagFlow](#ragflow)
1717
- 3.3.1. [Tips](#tips)
1818

19-
💠 2025-05-30 16:46:34
19+
💠 2025-09-05 11:32:24
2020
****************************************
2121
# 开发平台
2222

@@ -41,6 +41,8 @@ categories:
4141
> [一款纯 js 实现的大模型应用服务 FastGPT 解读 - 易迟的博客 | Bryan Blog](https://hustyichi.github.io/2024/07/04/fastgpt/)
4242
> [FastGPT解密 - cumber的专栏 - 掘金](https://juejin.cn/column/7350107540326236169)
4343
44+
> [FastGPT Rag模块](/Ai/Rag.md#fastgpt)
45+
4446
## Dify
4547
> [Dify | Dify](https://docs.dify.ai/zh-hans)
4648
@@ -49,6 +51,7 @@ categories:
4951
5052
通常是 node_started text_chunk node_finished workflow_finished。 流式回复通过text_chunk实现,但是目前存在bug在复杂的if流程中 chunk可能会被合并输出,达不到流效果。
5153

54+
> [Dify Rag模块](/Ai/Rag.md#dify)
5255
## RagFlow
5356
> [infiniflow/ragflow: RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.](https://github.com/infiniflow/ragflow?tab=readme-ov-file)
5457

Ai/Rag.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ categories:
1111
- 1. [RAG](#rag)
1212
- 1.1. [Rag 评测](#rag-评测)
1313
- 1.2. [实践](#实践)
14+
- 1.2.1. [FastGPT](#fastgpt)
15+
- 1.2.2. [Dify](#dify)
1416
- 2. [难题](#难题)
15-
- 2.1. [无信息输入](#无信息输入)
17+
- 2.1. [用户无有效信息输入](#用户无有效信息输入)
18+
- 2.2. [专业性太强](#专业性太强)
1619

17-
💠 2025-09-05 11:00:47
20+
💠 2025-09-05 11:32:24
1821
****************************************
1922
# RAG
2023
> [[Large Language Models with Semantic Search] - 引言與關鍵字搜尋Keyword/lexical Search - HackMD](https://hackmd.io/@YungHuiHsu/rku-vjhZT)
@@ -84,6 +87,21 @@ categories:
8487
> [Searching for Best Practices in Retrieval-Augmented Generation](https://arxiv.org/pdf/2407.01219)
8588
> [RAG 全流程](https://waytoagi.feishu.cn/wiki/QBssw7z4oiGS40kDlltcjozBnxc)
8689
90+
### FastGPT
91+
> [知识库基础原理介绍](https://doc.fastgpt.cn/docs/introduction/guide/knowledge_base/RAG)
92+
93+
使用PG实现向量存储,文档存储在MongoDB,可以二开增加全文检索(ES)
94+
95+
- 入库:规则切分段落,大模型理解生成QA对,QA对
96+
- 向量化: 选择和更换对应模型,更换需要重新索引入向量库
97+
- 召回:向量,全文,混合检索(可以单独设置 全文和向量的阈值)
98+
99+
### Dify
100+
101+
混合检索时,只能调节全文和向量的占比权重,无法单独设置阈值,只能设置统一阈值
102+
103+
************************
104+
87105
# 难题
88106
## 用户无有效信息输入
89107
> 例如:没有对话前文时,给定了体检报告文件,然后用户提问:解读下这个报告。

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
| | | | | | |
1616
|:----|:----|:----|:----|:----|:----|
17-
| 基石 | [ 算法 ](/Algorithm/Algorithm.md) | [ 字符编码 ](/Skills/CS/CharacterEncoding.md) | [ 计算机基础 ](/Skills/CS/Computer.md) | [ 网络 ](/Skills/Network/) |
18-
| 应用 | [ 正则表达式 ](/Skills/RegularExpression.md) | [ 日期与时间 ](/Skills/CS/Time.md) | [ 软考相关 ](/Skills/SoftwareDesignEngineer.md) |
17+
| 基石 | [ 算法 ](/Algorithm/Algorithm.md) | [ 计算机基础 ](/Skills/CS/Computer.md) | [ 网络 ](/Skills/Network/) |
18+
| 应用 | [ 字符编码 ](/Skills/CS/CharacterEncoding.md) | [ 日期与时间 ](/Skills/CS/Time.md) | [ 软考相关 ](/Skills/SoftwareDesignEngineer.md) |
1919
| 版本控制 | [ Git实践细节 ](/Skills/Vcs/GitAction.md) | [ Git进阶 ](/Skills/Vcs/GitAdvance.md) | [ Git基础 ](/Skills/Vcs/GitBase.md) | [ Git协作 ](/Skills/Vcs/GitTeam.md) | [ Svn ](/Skills/Vcs/Svn.md) |
2020
| 对比 | [ 编辑器对比 ](/Skills/Application/Editor.md) | [ Web浏览器对比 ](/Skills/Application/WebBrowser.md) |
2121

0 commit comments

Comments
 (0)