generated from cloudwego/.github
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from cloudwego/feat/mirror_code
feat: manually mirror eino's code from bytedance
- Loading branch information
Showing
160 changed files
with
24,647 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,4 @@ jobs: | |
uses: golangci/golangci-lint-action@v6 | ||
with: | ||
version: latest | ||
args: --timeout 5m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,5 @@ output/* | |
# Vscode files | ||
.vscode | ||
|
||
/patches | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
# .github | ||
# Eino | ||
|
||
English | [中文](README.zh_CN.md) | ||
|
||
## Overview | ||
|
||
|
||
## Security | ||
|
||
If you discover a potential security issue in this project, or think you may | ||
have discovered a security issue, we ask that you notify Bytedance Security via our [security center](https://security.bytedance.com/src) or [vulnerability reporting email]([email protected]). | ||
|
||
Please do **not** create a public GitHub issue. | ||
|
||
## License | ||
|
||
This project is licensed under the [Apache-2.0 License](LICENSE.txt). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Eino | ||
|
||
[English](README.md) | 中文 | ||
|
||
|
||
## 概括 | ||
|
||
Eino['aino] (近似音: i know) 旨在提供 Golang 语言的 AI 应用开发框架。 Eino 参考了开源社区中诸多优秀的 AI 应用开发框架,例如 LangChain、LangGraph、LlamaIndex 等,提供了更符合 Golang 编程习惯的 AI 应用开发框架。 | ||
|
||
Eino 提供了丰富的辅助AI应用开发的原子组件、集成组件、组件编排、切面扩展等能力,可以帮助开发者更加简单便捷地开发出架构清晰、易维护、高可用的AI应用。 | ||
|
||
## 框架特点 | ||
|
||
- **丰富的组件** | ||
|
||
将多场景普遍使用的能力,抽象成可独立使用、可编排使用的组件,开箱即用。例如 ChatModel、PromptTemplate、Retriever、Loader 等。 | ||
|
||
组件又可细分为:功能不可细拆的原子组件、由一到多中组件以某种范式组合而成的集成组件。 | ||
|
||
- **易用的图编排** | ||
|
||
将各组件实例,作为图的节点,以图的点边关系连接,以边的方向逐步执行节点并传输数据流,将AI应用的逻辑以图的方式进行编排和执行。 | ||
|
||
图编排可极大简化 **并行**、**异步** 逻辑的开发,并优化其代码结构 | ||
|
||
- **完善的流处理** | ||
|
||
根据输入、输出是否为流式,可划分成 4 种交互模式。 图编排可根据上下游节点的输入、输出是否是流,自动进行 流 和 非流 的转换,极大地方便开发者对AI应用提供流的能力 | ||
|
||
| 函数名 | 模式说明 | | ||
|-----------|-----------| | ||
| Invoke | 输入是非流、输出是非流 | | ||
| Stream | 输入是非流、输出是流 | | ||
| Collect | 输入是流、输出是非流 | | ||
| Transform | 输入是流、输出是流 | | ||
|
||
- **高扩展性的切面** | ||
|
||
图编排为图、节点的执行前后提供切面的注入、执行机制。开发者可基于此机制,在不侵入主流程的前提下,灵活地设计和注入自己的切面能力。例如 Trace、埋点、日志等 | ||
|
||
|
||
## 详细文档 | ||
|
||
// TODO:链接用户手册等文档 | ||
|
||
## 安全 | ||
|
||
如果你在该项目中发现潜在的安全问题,或你认为可能发现了安全问题,请通过我们的[安全中心](https://security.bytedance.com/src)或[漏洞报告邮箱]([email protected])通知字节跳动安全团队。 | ||
|
||
请**不要**创建公开的 GitHub Issue。 | ||
|
||
## 开源许可证 | ||
|
||
本项目依据 [Apache-2.0 许可证](LICENSE.txt) 授权。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
# Typo check: https://github.com/crate-ci/typos | ||
[default] | ||
|
||
[default.extend-words] | ||
Invokable = "Invokable" | ||
invokable = "invokable" | ||
InvokableLambda = "InvokableLambda" | ||
InvokableRun = "InvokableRun" | ||
outter = "outter" | ||
Opion = "Opion" | ||
TOpion = "TOpion" | ||
renderring = "renderring" | ||
|
||
|
||
[files] | ||
extend-exclude = ["go.mod", "go.sum", "check_branch_name.sh"] |
Oops, something went wrong.