Skip to content

Commit 7d7df18

Browse files
Add available languages (#776)
<!-- .github/pull_request_template.md --> ## Description <!-- Provide a clear description of the changes in this PR --> ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin. --------- Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
1 parent f94076b commit 7d7df18

File tree

4 files changed

+172
-2
lines changed

4 files changed

+172
-2
lines changed

README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ Build dynamic Agent memory using scalable, modular ECL (Extract, Cognify, Load)
3232

3333
More on [use-cases](https://docs.cognee.ai/use-cases) and [evals](https://github.com/topoteretes/cognee/tree/main/evals)
3434

35+
<p align="center">
36+
🌐 Available Languages
37+
:
38+
<a href="community/README.pt.md">🇵🇹 Português</a>
39+
·
40+
<a href="community/README.zh.md">🇨🇳 [中文]</a>
41+
</p>
42+
3543
<div style="text-align: center">
3644
<img src="https://raw.githubusercontent.com/topoteretes/cognee/refs/heads/main/assets/cognee_benefits.png" alt="Why cognee?" width="50%" />
3745
</div>
@@ -117,8 +125,8 @@ Example output:
117125
118126
```
119127
Graph visualization:
120-
<a href="https://rawcdn.githack.com/topoteretes/cognee/refs/heads/add-visualization-readme/assets/graph_visualization.html"><img src="assets/graph_visualization.png" width="100%" alt="Graph Visualization"></a>
121-
Open in [browser](https://rawcdn.githack.com/topoteretes/cognee/refs/heads/add-visualization-readme/assets/graph_visualization.html).
128+
<a href="https://rawcdn.githack.com/topoteretes/cognee/refs/heads/main/assets/graph_visualization.html"><img src="assets/graph_visualization.png" width="100%" alt="Graph Visualization"></a>
129+
Open in [browser](https://rawcdn.githack.com/topoteretes/cognee/refs/heads/main/assets/graph_visualization.html).
122130

123131
For more advanced usage, have a look at our <a href="https://docs.cognee.ai"> documentation</a>.
124132

community/README.zh.md

+162
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
1+
<div align="center">
2+
<a href="https://github.com/topoteretes/cognee">
3+
<img src="https://raw.githubusercontent.com/topoteretes/cognee/refs/heads/dev/assets/cognee-logo-transparent.png" alt="Cognee Logo" height="60">
4+
</a>
5+
6+
<br />
7+
8+
cognee - AI应用和智能体的记忆层
9+
10+
<p align="center">
11+
<a href="https://www.youtube.com/watch?v=1bezuvLwJmw&t=2s">演示</a>
12+
.
13+
<a href="https://cognee.ai">了解更多</a>
14+
·
15+
<a href="https://discord.gg/NQPKmU5CCg">加入Discord</a>
16+
</p>
17+
18+
19+
[![GitHub forks](https://img.shields.io/github/forks/topoteretes/cognee.svg?style=social&label=Fork&maxAge=2592000)](https://github.com/topoteretes/cognee/network/)
20+
[![GitHub stars](https://img.shields.io/github/stars/topoteretes/cognee.svg?style=social&label=Star&maxAge=2592000)](https://github.com/topoteretes/cognee/stargazers/)
21+
[![GitHub commits](https://badgen.net/github/commits/topoteretes/cognee)](https://github.com/topoteretes/cognee/commit/)
22+
[![Github tag](https://badgen.net/github/tag/topoteretes/cognee)](https://github.com/topoteretes/cognee/tags/)
23+
[![Downloads](https://static.pepy.tech/badge/cognee)](https://pepy.tech/project/cognee)
24+
[![License](https://img.shields.io/github/license/topoteretes/cognee?colorA=00C586&colorB=000000)](https://github.com/topoteretes/cognee/blob/main/LICENSE)
25+
[![Contributors](https://img.shields.io/github/contributors/topoteretes/cognee?colorA=00C586&colorB=000000)](https://github.com/topoteretes/cognee/graphs/contributors)
26+
27+
可靠的AI智能体响应。
28+
29+
30+
31+
使用可扩展、模块化的ECL(提取、认知、加载)管道构建动态智能体记忆。
32+
33+
更多[使用场景](https://docs.cognee.ai/use_cases)
34+
35+
<div style="text-align: center">
36+
<img src="cognee_benefits_zh.JPG" alt="为什么选择cognee?" width="100%" />
37+
</div>
38+
39+
</div>
40+
41+
42+
43+
44+
## 功能特性
45+
46+
- 互联并检索您的历史对话、文档、图像和音频转录
47+
- 减少幻觉、开发人员工作量和成本
48+
- 仅使用Pydantic将数据加载到图形和向量数据库
49+
- 从30多个数据源摄取数据时进行数据操作
50+
51+
## 开始使用
52+
53+
通过Google Colab <a href="https://colab.research.google.com/drive/1g-Qnx6l_ecHZi0IOw23rg0qC4TYvEvWZ?usp=sharing">笔记本</a>或<a href="https://github.com/topoteretes/cognee-starter">入门项目</a>快速上手
54+
55+
## 贡献
56+
您的贡献是使这成为真正开源项目的核心。我们**非常感谢**任何贡献。更多信息请参阅[`CONTRIBUTING.md`](CONTRIBUTING.md)
57+
58+
59+
60+
61+
62+
## 📦 安装
63+
64+
您可以使用**pip****poetry****uv**或任何其他Python包管理器安装Cognee。
65+
66+
### 使用pip
67+
68+
```bash
69+
pip install cognee
70+
```
71+
72+
## 💻 基本用法
73+
74+
### 设置
75+
76+
```
77+
import os
78+
os.environ["LLM_API_KEY"] = "YOUR OPENAI_API_KEY"
79+
80+
```
81+
82+
您也可以通过创建.env文件设置变量,使用我们的<a href="https://github.com/topoteretes/cognee/blob/main/.env.template">模板</a>。
83+
要使用不同的LLM提供商,请查看我们的<a href="https://docs.cognee.ai">文档</a>获取更多信息。
84+
85+
86+
### 简单示例
87+
88+
此脚本将运行默认管道:
89+
90+
```python
91+
import cognee
92+
import asyncio
93+
94+
95+
async def main():
96+
# Add text to cognee
97+
await cognee.add("自然语言处理(NLP)是计算机科学和信息检索的跨学科领域。")
98+
99+
# Generate the knowledge graph
100+
await cognee.cognify()
101+
102+
# Query the knowledge graph
103+
results = await cognee.search("告诉我关于NLP")
104+
105+
# Display the results
106+
for result in results:
107+
print(result)
108+
109+
110+
if __name__ == '__main__':
111+
asyncio.run(main())
112+
113+
```
114+
示例输出:
115+
```
116+
自然语言处理(NLP)是计算机科学和信息检索的跨学科领域。它关注计算机和人类语言之间的交互,使机器能够理解和处理自然语言。
117+
118+
```
119+
图形可视化:
120+
<a href="https://rawcdn.githack.com/topoteretes/cognee/refs/heads/main/assets/graph_visualization.html"><img src="https://rawcdn.githack.com/topoteretes/cognee/refs/heads/main/assets/graph_visualization.png" width="100%" alt="图形可视化"></a>
121+
[浏览器](https://rawcdn.githack.com/topoteretes/cognee/refs/heads/main/assets/graph_visualization.html)中打开。
122+
123+
有关更高级的用法,请查看我们的<a href="https://docs.cognee.ai">文档</a>。
124+
125+
126+
## 了解我们的架构
127+
128+
<div style="text-align: center">
129+
<img src="cognee_diagram_zh.JPG" alt="cognee概念图" width="100%" />
130+
</div>
131+
132+
133+
134+
## 演示
135+
136+
1. 什么是AI记忆:
137+
138+
[了解cognee](https://github.com/user-attachments/assets/8b2a0050-5ec4-424c-b417-8269971503f0)
139+
140+
2. 简单GraphRAG演示
141+
142+
[简单GraphRAG演示](https://github.com/user-attachments/assets/f57fd9ea-1dc0-4904-86eb-de78519fdc32)
143+
144+
3. cognee与Ollama
145+
146+
[cognee与本地模型](https://github.com/user-attachments/assets/834baf9a-c371-4ecf-92dd-e144bd0eb3f6)
147+
148+
149+
## 行为准则
150+
151+
我们致力于为我们的社区提供愉快和尊重的开源体验。有关更多信息,请参阅<a href="https://github.com/topoteretes/cognee/blob/main/CODE_OF_CONDUCT.md"><code>CODE_OF_CONDUCT</code></a>。
152+
153+
## 💫 贡献者
154+
155+
<a href="https://github.com/topoteretes/cognee/graphs/contributors">
156+
<img alt="contributors" src="https://contrib.rocks/image?repo=topoteretes/cognee"/>
157+
</a>
158+
159+
160+
## Star历史
161+
162+
[![Star History Chart](https://api.star-history.com/svg?repos=topoteretes/cognee&type=Date)](https://star-history.com/#topoteretes/cognee&Date)

community/cognee_benefits_zh.JPG

262 KB
Loading

community/cognee_diagram_zh.JPG

181 KB
Loading

0 commit comments

Comments
 (0)