Files
eino-test/data/eino-intro.md
T

36 lines
987 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
tags: [eino, agent, go, framework]
---
## EINO 框架简介
EINO 是字节跳动 CloudWeGo 团队开发的 Go 语言 AI 应用框架,提供了从组件到编排到 Agent 的完整开发栈。
## 三大核心模块
### 1. Components(组件)
Eino 定义了一系列标准化的组件接口:
- **ChatModel**:与大语言模型交互
- **Embedding**:文本向量化
- **Retriever**:文档检索
- **Tool**:工具调用
- **Indexer**:文档索引
### 2. Chain/Graph(编排)
通过有向无环图将组件编排成复杂的数据处理流程:
- 类型安全的边连接
- 自动流式转换
- Callback 机制
### 3. ADK(Agent Development Kit)
提供多种 Agent 编排模式:
- **ChatModelAgent**:ReAct 模式的单 Agent
- **Supervisor**:中心化的多 Agent 协作
- **Plan-Execute**:先规划后执行
## 为什么选择 EINO
1. Go 原生协程,性能优异
2. 编译时类型检查,减少运行时错误
3. 开箱即用的 Agent 模式