diff --git a/README.md b/README.md index af771d896..cc83fbd5a 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,14 @@ Build dynamic Agent memory using scalable, modular ECL (Extract, Cognify, Load) More on [use-cases](https://docs.cognee.ai/use_cases). +

+ 🌐 Available Languages + : + 🇵🇹 Português + · + 🇨🇳 [中文] +

+
Why cognee?
@@ -117,8 +125,8 @@ Example output: ``` Graph visualization: -Graph Visualization -Open in [browser](https://rawcdn.githack.com/topoteretes/cognee/refs/heads/add-visualization-readme/assets/graph_visualization.html). +Graph Visualization +Open in [browser](https://rawcdn.githack.com/topoteretes/cognee/refs/heads/main/assets/graph_visualization.html). For more advanced usage, have a look at our documentation. diff --git a/community/README.zh.md b/community/README.zh.md new file mode 100644 index 000000000..573a77b31 --- /dev/null +++ b/community/README.zh.md @@ -0,0 +1,162 @@ +
+ + Cognee Logo + + +
+ + cognee - AI应用和智能体的记忆层 + +

+ 演示 + . + 了解更多 + · + 加入Discord +

+ + + [![GitHub forks](https://img.shields.io/github/forks/topoteretes/cognee.svg?style=social&label=Fork&maxAge=2592000)](https://GitHub.com/topoteretes/cognee/network/) + [![GitHub stars](https://img.shields.io/github/stars/topoteretes/cognee.svg?style=social&label=Star&maxAge=2592000)](https://GitHub.com/topoteretes/cognee/stargazers/) + [![GitHub commits](https://badgen.net/github/commits/topoteretes/cognee)](https://GitHub.com/topoteretes/cognee/commit/) + [![Github tag](https://badgen.net/github/tag/topoteretes/cognee)](https://github.com/topoteretes/cognee/tags/) + [![Downloads](https://static.pepy.tech/badge/cognee)](https://pepy.tech/project/cognee) + [![License](https://img.shields.io/github/license/topoteretes/cognee?colorA=00C586&colorB=000000)](https://github.com/topoteretes/cognee/blob/main/LICENSE) + [![Contributors](https://img.shields.io/github/contributors/topoteretes/cognee?colorA=00C586&colorB=000000)](https://github.com/topoteretes/cognee/graphs/contributors) + + 可靠的AI智能体响应。 + + + +使用可扩展、模块化的ECL(提取、认知、加载)管道构建动态智能体记忆。 + +更多[使用场景](https://docs.cognee.ai/use_cases)。 + +
+ 为什么选择cognee? +
+ +
+ + + + +## 功能特性 + +- 互联并检索您的历史对话、文档、图像和音频转录 +- 减少幻觉、开发人员工作量和成本 +- 仅使用Pydantic将数据加载到图形和向量数据库 +- 从30多个数据源摄取数据时进行数据操作 + +## 开始使用 + +通过Google Colab 笔记本入门项目快速上手 + +## 贡献 +您的贡献是使这成为真正开源项目的核心。我们**非常感谢**任何贡献。更多信息请参阅[`CONTRIBUTING.md`](CONTRIBUTING.md)。 + + + + + +## 📦 安装 + +您可以使用**pip**、**poetry**、**uv**或任何其他Python包管理器安装Cognee。 + +### 使用pip + +```bash +pip install cognee +``` + +## 💻 基本用法 + +### 设置 + +``` +import os +os.environ["LLM_API_KEY"] = "YOUR OPENAI_API_KEY" + +``` + +您也可以通过创建.env文件设置变量,使用我们的模板。 +要使用不同的LLM提供商,请查看我们的文档获取更多信息。 + + +### 简单示例 + +此脚本将运行默认管道: + +```python +import cognee +import asyncio + + +async def main(): + # Add text to cognee + await cognee.add("自然语言处理(NLP)是计算机科学和信息检索的跨学科领域。") + + # Generate the knowledge graph + await cognee.cognify() + + # Query the knowledge graph + results = await cognee.search("告诉我关于NLP") + + # Display the results + for result in results: + print(result) + + +if __name__ == '__main__': + asyncio.run(main()) + +``` +示例输出: +``` + 自然语言处理(NLP)是计算机科学和信息检索的跨学科领域。它关注计算机和人类语言之间的交互,使机器能够理解和处理自然语言。 + +``` +图形可视化: +图形可视化 +在[浏览器](https://rawcdn.githack.com/topoteretes/cognee/refs/heads/main/assets/graph_visualization.html)中打开。 + +有关更高级的用法,请查看我们的文档。 + + +## 了解我们的架构 + +
+ cognee概念图 +
+ + + +## 演示 + +1. 什么是AI记忆: + +[了解cognee](https://github.com/user-attachments/assets/8b2a0050-5ec4-424c-b417-8269971503f0) + +2. 简单GraphRAG演示 + +[简单GraphRAG演示](https://github.com/user-attachments/assets/f57fd9ea-1dc0-4904-86eb-de78519fdc32) + +3. cognee与Ollama + +[cognee与本地模型](https://github.com/user-attachments/assets/834baf9a-c371-4ecf-92dd-e144bd0eb3f6) + + +## 行为准则 + +我们致力于为我们的社区提供愉快和尊重的开源体验。有关更多信息,请参阅CODE_OF_CONDUCT。 + +## 💫 贡献者 + + + contributors + + + +## Star历史 + +[![Star History Chart](https://api.star-history.com/svg?repos=topoteretes/cognee&type=Date)](https://star-history.com/#topoteretes/cognee&Date) diff --git a/community/cognee_benefits_zh.JPG b/community/cognee_benefits_zh.JPG new file mode 100644 index 000000000..30474b8d9 Binary files /dev/null and b/community/cognee_benefits_zh.JPG differ diff --git a/community/cognee_diagram_zh.JPG b/community/cognee_diagram_zh.JPG new file mode 100644 index 000000000..df78ec6c0 Binary files /dev/null and b/community/cognee_diagram_zh.JPG differ