Skip to content

Commit e61f60d

Browse files
committed
docs: synced via GitHub Actions
1 parent 0d1326c commit e61f60d

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

src/dev-guide/ai/ai-design.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# AI支持模块设计
2+
3+
## 设计目标
4+
不同于现有的AI框架,我关注的不是具体功能的实现,而是一种系统化的架构设计,试图探索一些新的设计方案。
5+
6+
## 基本设定
7+
- AI功能在Nop平台中的封装形态为一个多输入-多输出的函数。任何用到函数的地方都可以使用AI函数去替代。
8+
- Tools的支持完全在函数级别实现,Tools本身也表现为一个多输入多输出的函数。
9+
- 将GraphQL函数直接暴露为MCP函数,通过额外的json meta来补充描述信息
10+
11+
## 核心组件
12+
- LLM模型
13+
- Prompt模型
14+
- Command执行
15+
- Agent模型
16+
17+
流程编排直接复用NopTaskFlow。
143 KB
Loading

0 commit comments

Comments
 (0)