agentic_huge_data_base / wiki
页面 Cognee DeepWiki 中文译文·83/83 页译文 · 记忆管道与知识图谱构建

Cognee DeepWiki 中文译文

记忆管道与知识图谱构建 DeepWiki 中文译文目录页,作为对应 2.5 项目要点页的章节入口。本页集中呈现项目定位、核心模块、章节索引和源码线索;具体中文全文请进入独立章节页阅读。

用途说明:本页仅用于内部技术调研、方案比较和工程学习;原始内容与最终核对仍以 DeepWiki 链接为准。
译文83/83 页 待补0 页 章节1186 核心模块系统架构、测试、发布与运维、检索、召回与索引、配置治理、图谱与关系

项目定位

记忆管道与知识图谱构建

面向添加、认知化、图谱化和向量化的记忆管道。

添加认知化图谱向量化

核心模块

系统架构

48 个章节涉及此模块。优先查看下列章节,再回到完整目录按 ID 阅读。

测试、发布与运维

51 个章节涉及此模块。优先查看下列章节,再回到完整目录按 ID 阅读。

检索、召回与索引

37 个章节涉及此模块。优先查看下列章节,再回到完整目录按 ID 阅读。

配置治理

33 个章节涉及此模块。优先查看下列章节,再回到完整目录按 ID 阅读。

图谱与关系

30 个章节涉及此模块。优先查看下列章节,再回到完整目录按 ID 阅读。

章节筛选

显示 83 / 83 项

章节目录

ID章节模块源码线索状态
1 Cognee 介绍 系统架构、检索、召回与索引、界面与交互 .env.template README.md assets/cognee_benefits.png 全文译文
1.1 安装与设置 模型调用与提供方适配、接口与服务契约、配置治理 .env.example .env.template .github/CODEOWNERS 全文译文
1.2 快速开始指南 入库与解析、工作流与编排、系统架构 cognee/api/v1/add/add.py cognee/api/v1/cognify/cognify.py cognee/modules/data/models/Data.py 全文译文
1.3 系统架构总览 系统架构、界面与交互、配置治理 .env.template README.md assets/cognee_benefits.png 全文译文
2 用户接口 测试、发布与运维、接口与服务契约、界面与交互 cognee/__init__.py cognee/api/DTO.py cognee/api/client.py 全文译文
2.1 Python API 参考 测试、发布与运维、接口与服务契约、入库与解析 cognee/__init__.py cognee/api/client.py cognee/api/v1/add/add.py 全文译文
2.2 CLI 接口 界面与交互、图谱与关系、安装与启动 cognee/api/v1/ui/__init__.py cognee/api/v1/ui/node_setup.py cognee/api/v1/ui/npm_utils.py 全文译文
2.3 REST API 服务端 接口与服务契约、检索、召回与索引、图谱与关系 cognee/__init__.py cognee/api/DTO.py cognee/api/client.py 全文译文
2.4 面向智能体的 MCP 服务端 安装与启动、认证、权限与安全、智能体运行时 .github/actions/install_cognee/action.yml .github/workflows/cli_tests.yml .github/workflows/dockerhub-mcp.yml 全文译文
2.5 Web 前端 界面与交互、系统架构、安装与启动 cognee-frontend/.dockerignore cognee-frontend/Dockerfile cognee-frontend/package-lock.json 全文译文
3 核心数据管线 测试、发布与运维、系统架构、工作流与编排 cognee/api/v1/add/add.py cognee/api/v1/cognify/cognify.py cognee/infrastructure/engine/models/DataPoint.py 全文译文
3.1 数据入库 (cognee.add) 界面与交互、文档对象与元数据、存储与持久化 cognee/api/v1/add/add.py cognee/api/v1/cognify/cognify.py cognee/eval_framework/modal_eval_dashboard.py 全文译文
3.2 管线任务与执行 工作流与编排、图谱与关系、测试、发布与运维 cognee/api/v1/add/add.py cognee/api/v1/cognify/cognify.py cognee/infrastructure/engine/models/DataPoint.py 全文译文
3.3 知识 Graph 生成 (cognee.cognify) 图谱与关系、测试、发布与运维、入库与解析 cognee/api/v1/add/add.py cognee/api/v1/cognify/cognify.py cognee/eval_framework/corpus_builder/task_getters/get_cascade_graph_tasks.py 全文译文
3.4 时序知识 Graphs 图谱与关系、安装与启动、工作流与编排 .github/workflows/distributed_test.yml .github/workflows/temporal_graph_tests.yml cognee/modules/engine/utils/__init__.py 全文译文
3.5 自定义 Graph 模型 图谱与关系、入库与解析、文档对象与元数据 cognee/eval_framework/corpus_builder/task_getters/get_cascade_graph_tasks.py cognee/eval_framework/corpus_builder/task_getters/get_default_tasks_by_indices.py cognee/modules/graph/utils/expand_with_nodes_and_edges.py 全文译文
3.6 Memify 与 Graph Enrichment 工作流与编排、图谱与关系、测试、发布与运维 cognee/api/v1/datasets/datasets.py cognee/api/v1/delete/__init__.py cognee/api/v1/delete/routers/__init__.py 全文译文
3.7 Web Scraping 与 URL 入库 存储与持久化、工作流与编排、接口与服务契约 cognee/tasks/web_scraper/__init__.py cognee/tasks/web_scraper/config.py cognee/tasks/web_scraper/default_url_crawler.py 全文译文
4 检索与召回系统 检索、召回与索引、系统架构、模型调用与提供方适配 cognee/api/v1/search/search.py cognee/infrastructure/llm/prompts/extract_query_time.txt cognee/modules/retrieval/base_retriever.py 全文译文
4.1 检索类型总览 检索、召回与索引、测试、发布与运维、配置治理 cognee/api/v1/search/search.py cognee/modules/observability/__init__.py cognee/modules/observability/trace_context.py 全文译文
4.2 基于图谱的检索 检索、召回与索引、图谱与关系、系统架构 cognee/infrastructure/llm/prompts/extract_query_time.txt cognee/modules/graph/cognee_graph/CogneeAbstractGraph.py cognee/modules/graph/cognee_graph/CogneeGraph.py 全文译文
4.3 向量检索与 RAG 检索、召回与索引、模型调用与提供方适配、图谱与关系 cognee/infrastructure/llm/prompts/extract_query_time.txt cognee/modules/graph/utils/__init__.py cognee/modules/graph/utils/get_entity_nodes_from_triplets.py 全文译文
4.4 高级召回策略 系统架构、检索、召回与索引、测试、发布与运维 CLAUDE.md cognee/infrastructure/databases/graph/postgres/__init__.py cognee/infrastructure/databases/graph/postgres/adapter.py 全文译文
4.5 用户反馈与交互跟踪 记忆与上下文、图谱与关系、系统架构 cognee/infrastructure/llm/prompts/agent_trace_feedback_summary_system.txt cognee/infrastructure/llm/prompts/feedback_detection_system.txt cognee/infrastructure/session/feedback_detection.py 全文译文
4.6 Agentic 与 Skill-Based 召回 检索、召回与索引、入库与解析、图谱与关系 cognee/api/v1/search/search.py cognee/modules/engine/models/Skill.py cognee/modules/engine/models/SkillImprovementProposal.py 全文译文
5 数据库架构 存储与持久化、检索、召回与索引、模型调用与提供方适配 cognee/base_config.py cognee/context_global_variables.py cognee/infrastructure/databases/graph/config.py 全文译文
5.1 向量数据库适配器 存储与持久化、检索、召回与索引、接口与服务契约 cognee/base_config.py cognee/context_global_variables.py cognee/infrastructure/databases/graph/config.py 全文译文
5.2 图数据库适配器 检索、召回与索引、图谱与关系、系统架构 CLAUDE.md cognee/infrastructure/databases/graph/graph_db_interface.py cognee/infrastructure/databases/graph/kuzu/adapter.py 全文译文
5.3 关系型数据库适配器 系统架构、存储与持久化、检索、召回与索引 cognee/infrastructure/databases/dataset_database_handler/supported_dataset_database_handlers.py cognee/infrastructure/databases/graph/neo4j_driver/Neo4jAuraDevDatasetDatabaseHandler.py cognee/infrastructure/databases/graph/postgres/PostgresGraphDatasetDatabaseHandler.py 全文译文
5.4 数据库配置与选择 存储与持久化、配置治理、检索、召回与索引 cognee/base_config.py cognee/context_global_variables.py cognee/infrastructure/databases/dataset_database_handler/supported_dataset_database_handlers.py 全文译文
5.5 多租户访问控制 配置治理、存储与持久化、检索、召回与索引 cognee/base_config.py cognee/context_global_variables.py cognee/infrastructure/databases/dataset_database_handler/__init__.py 全文译文
5.6 缓存层 系统架构、存储与持久化、界面与交互 cognee/infrastructure/databases/cache/__init__.py cognee/infrastructure/databases/cache/cache_db_interface.py cognee/infrastructure/databases/cache/config.py 全文译文
5.7 子进程工作器与资源隔离 接口与服务契约、测试、发布与运维、存储与持久化 cognee/infrastructure/databases/graph/kuzu/subprocess/proxy.py cognee/infrastructure/databases/utils/closing_lru_cache.py cognee/infrastructure/databases/vector/lancedb/subprocess/proxy.py 全文译文
6 LLM 与 Embeddings 模型调用与提供方适配、系统架构、接口与服务契约 .env.template README.md assets/cognee_benefits.png 全文译文
6.1 大模型提供方配置 模型调用与提供方适配、接口与服务契约、配置治理 .env.template README.md assets/cognee_benefits.png 全文译文
6.2 嵌入服务 模型调用与提供方适配、系统架构、检索、召回与索引 cognee/infrastructure/databases/vector/embeddings/FastembedEmbeddingEngine.py cognee/infrastructure/databases/vector/embeddings/LiteLLMEmbeddingEngine.py cognee/infrastructure/databases/vector/embeddings/OllamaEmbeddingEngine.py 全文译文
6.3 结构化输出框架 界面与交互、模型调用与提供方适配、系统架构 .env.template README.md assets/cognee_benefits.png 全文译文
6.4 LLM 适配器架构 模型调用与提供方适配、界面与交互、系统架构 cognee-mcp/src/strip_vectors.py cognee/infrastructure/llm/LLMGateway.py cognee/infrastructure/llm/structured_output_framework/baml/baml_src/extraction/acreate_structured_output.py 全文译文
6.5 错误处理与回退机制 测试、发布与运维、检索、召回与索引、模型调用与提供方适配 cognee/exceptions/__init__.py cognee/exceptions/exceptions.py cognee/infrastructure/databases/exceptions/__init__.py 全文译文
7 配置系统 配置治理、存储与持久化、模型调用与提供方适配 .env.template README.md assets/cognee_benefits.png 全文译文
7.1 环境变量参考 模型调用与提供方适配、配置治理、存储与持久化 .env.template .github/actions/cognee_setup/action.yml .github/workflows/basic_tests.yml 全文译文
7.2 安全配置 配置治理、认证、权限与安全、检索、召回与索引 .env.template README.md assets/cognee_benefits.png 全文译文
7.3 存储配置 存储与持久化、配置治理、测试、发布与运维 cognee/base_config.py cognee/context_global_variables.py cognee/eval_framework/modal_eval_dashboard.py 全文译文
8 数据模型与模式定义 图谱与关系、文档对象与元数据、测试、发布与运维 cognee/infrastructure/engine/models/DataPoint.py cognee/modules/chunking/models/DocumentChunk.py cognee/modules/engine/models/Entity.py 全文译文
8.1 核心数据模型 图谱与关系、文档对象与元数据、测试、发布与运维 cognee/infrastructure/engine/__init__.py cognee/infrastructure/engine/models/DataPoint.py cognee/infrastructure/engine/models/Edge.py 全文译文
8.2 图谱实体与关系 检索、召回与索引、图谱与关系、系统架构 cognee/modules/graph/cognee_graph/CogneeAbstractGraph.py cognee/modules/graph/cognee_graph/CogneeGraph.py cognee/modules/graph/cognee_graph/CogneeGraphElements.py 全文译文
8.3 Triplet 嵌入模型 检索、召回与索引、图谱与关系、模型调用与提供方适配 cognee/infrastructure/llm/prompts/extract_query_time.txt cognee/modules/graph/cognee_graph/CogneeAbstractGraph.py cognee/modules/graph/cognee_graph/CogneeGraph.py 全文译文
8.4 关系型模式定义 存储与持久化、检索、召回与索引、模型调用与提供方适配 cognee/infrastructure/databases/dataset_database_handler/supported_dataset_database_handlers.py cognee/infrastructure/databases/graph/neo4j_driver/Neo4jAuraDevDatasetDatabaseHandler.py cognee/infrastructure/databases/graph/postgres/PostgresGraphDatasetDatabaseHandler.py 全文译文
9 可观测性与监控 测试、发布与运维、系统架构、接口与服务契约 cognee/__init__.py cognee/api/client.py cognee/api/v1/visualize/__init__.py 全文译文
9.1 遥测系统 测试、发布与运维、接口与服务契约、系统架构 .dockerignore.ci .github/workflows/integration_tests.yml cognee/__init__.py 全文译文
9.2 OpenTelemetry 跟踪 系统架构、测试、发布与运维、配置治理 cognee/__init__.py cognee/api/client.py cognee/api/v1/visualize/__init__.py 全文译文
9.3 数据溯源与血缘 文档对象与元数据、图谱与关系、工作流与编排 cognee/infrastructure/engine/models/DataPoint.py cognee/infrastructure/utils/run_sync.py cognee/modules/chunking/models/DocumentChunk.py 全文译文
10 部署指南 安装与启动、测试、发布与运维、存储与持久化 .github/actions/cognee_setup/action.yml .github/workflows/basic_tests.yml .github/workflows/db_examples_tests.yml 全文译文
10.1 Docker 部署 系统架构、测试、发布与运维、存储与持久化 .github/actions/image_builder/action.yaml .github/workflows/community_greetings.yml .github/workflows/dockerhub-mcp.yml 全文译文
10.2 开发设置 存储与持久化、测试、发布与运维、配置治理 .env.example .github/CODEOWNERS .github/actions/cognee_setup/action.yml 全文译文
10.3 测试指南 存储与持久化、测试、发布与运维、检索、召回与索引 .github/actions/cognee_setup/action.yml .github/workflows/basic_tests.yml .github/workflows/db_examples_tests.yml 全文译文
10.4 持续集成与持续交付管线 测试、发布与运维、存储与持久化、安装与启动 .github/actions/cognee_setup/action.yml .github/docs/release.md .github/workflows/basic_tests.yml 全文译文
10.5 贡献指南 测试、发布与运维、模型调用与提供方适配、配置治理 .coderabbit.yaml .env.example .github/CODEOWNERS 全文译文
10.6 Kubernetes 与 Helm 部署 安装与启动、存储与持久化、配置治理 .devcontainer/devcontainer.json .github/workflows/distributed_test.yml .github/workflows/temporal_graph_tests.yml 全文译文
10.7 分布式模式 安装与启动、工作流与编排、配置治理 .devcontainer/devcontainer.json .github/workflows/distributed_test.yml .github/workflows/temporal_graph_tests.yml 全文译文
11 MCP 工具参考 接口与服务契约、认证、权限与安全、文档对象与元数据 .github/workflows/dockerhub-mcp.yml Dockerfile cognee-mcp/Dockerfile 全文译文
11.1 数据管理工具 测试、发布与运维、系统架构、智能体运行时 .github/actions/install_cognee/action.yml .github/workflows/cli_tests.yml .github/workflows/dockerhub-mcp.yml 全文译文
11.2 检索与查询工具 接口与服务契约、检索、召回与索引、文档对象与元数据 .github/workflows/dockerhub-mcp.yml Dockerfile cognee-mcp/Dockerfile 全文译文
11.3 MCP 服务端配置 配置治理、安装与启动、接口与服务契约 .github/workflows/dockerhub-mcp.yml Dockerfile cognee-mcp/Dockerfile 全文译文
12 示例与教程 工作流与编排、界面与交互、模型调用与提供方适配 cognee/tests/unit/infrastructure/engine/test_identity_fields.py examples/custom_pipelines/organizational_hierarchy/organizational_hierarchy_pipeline_example.py examples/guides/consolidate_entity_descriptions_example.py 全文译文
12.1 基础用量示例 配置治理、模型调用与提供方适配、图谱与关系 cognee/modules/graph/utils/get_graph_from_model.py cognee/modules/graph/utils/get_model_instance_from_graph.py cognee/tasks/graph/extract_graph_and_summarize.py 全文译文
12.2 多数据库设置教程 存储与持久化、模型调用与提供方适配、配置治理 cognee/base_config.py cognee/context_global_variables.py cognee/infrastructure/databases/graph/config.py 全文译文
12.3 高级检索模式 检索、召回与索引、测试、发布与运维、存储与持久化 cognee/infrastructure/llm/prompts/extract_query_time.txt cognee/modules/retrieval/base_retriever.py cognee/modules/retrieval/completion_retriever.py 全文译文
12.4 图谱可视化 界面与交互、图谱与关系、文档对象与元数据 cognee/__init__.py cognee/api/client.py cognee/api/v1/visualize/__init__.py 全文译文
12.5 自定义管线教程 入库与解析、图谱与关系、文档对象与元数据 cognee/modules/pipelines/models/PipelineContext.py cognee/modules/pipelines/operations/run_pipeline.py cognee/modules/pipelines/tasks/task.py 全文译文
12.6 MCP 客户端集成示例 配置治理、安装与启动、接口与服务契约 .github/actions/install_cognee/action.yml .github/workflows/cli_tests.yml .github/workflows/dockerhub-mcp.yml 全文译文
12.7 评估框架 系统架构、测试、发布与运维、界面与交互 cognee/eval_framework/answer_generation/answer_generation_executor.py cognee/eval_framework/answer_generation/run_question_answering_module.py cognee/eval_framework/corpus_builder/corpus_builder_executor.py 全文译文
12.8 本体集成 图谱与关系、系统架构、接口与服务契约 cognee/api/v1/ontologies/__init__.py cognee/api/v1/ontologies/ontologies.py cognee/api/v1/ontologies/routers/__init__.py 全文译文
13 接口参考 测试、发布与运维、接口与服务契约、认证、权限与安全 cognee/__init__.py cognee/api/DTO.py cognee/api/client.py 全文译文
13.1 Python API 完整参考 测试、发布与运维、工作流与编排、入库与解析 cognee/__init__.py cognee/api/client.py cognee/api/v1/add/add.py 全文译文
13.2 数据库适配器接口 系统架构、存储与持久化、记忆与上下文 cognee/infrastructure/databases/dataset_database_handler/supported_dataset_database_handlers.py cognee/infrastructure/databases/graph/graph_db_interface.py cognee/infrastructure/databases/graph/kuzu/adapter.py 全文译文
13.3 REST 接口端点 测试、发布与运维、接口与服务契约、图谱与关系 cognee/__init__.py cognee/api/DTO.py cognee/api/client.py 全文译文
13.4 MCP 协议参考 安装与启动、接口与服务契约、界面与交互 .github/workflows/dockerhub-mcp.yml Dockerfile cognee-mcp/Dockerfile 全文译文
14 用户管理与权限 认证、权限与安全、系统架构、测试、发布与运维 cognee/alembic/versions/b1c2d3e4f5a6_add_user_api_key_table.py cognee/api/v1/api_keys/routers/__init__.py cognee/api/v1/api_keys/routers/get_api_key_management_router.py 全文译文
14.1 认证系统 接口与服务契约、测试、发布与运维、系统架构 .github/workflows/dockerhub-mcp.yml Dockerfile cognee-mcp/Dockerfile 全文译文
14.2 租户、角色与权限 认证、权限与安全、文档对象与元数据、系统架构 cognee/alembic/versions/6ee94db7381f_remove_unique_constraint_tenant_name.py cognee/infrastructure/databases/relational/ModelBase.py cognee/infrastructure/databases/relational/__init__.py 全文译文
14.3 智能体记忆装饰器 记忆与上下文、测试、发布与运维、检索、召回与索引 cognee-mcp/src/strip_vectors.py cognee/infrastructure/llm/LLMGateway.py cognee/modules/agent_memory/__init__.py 全文译文
15 术语表 检索、召回与索引、存储与持久化、工作流与编排 .env.template .github/workflows/dockerhub-mcp.yml Dockerfile 全文译文