微信扫码
添加专属顾问
我要投稿
可解释和可调试的知识:图表提供了可查询、可视化和更新的知识的人类可导航视图。
快速、低成本、高效:设计用于大规模运行而不需要大量资源或成本要求。
动态数据:自动生成和优化图表以最适合您的领域和本体需求。
增量更新:支持数据变化时的实时更新。
智能探索:利用基于 PageRank 的图形探索来提高准确性和可靠性。
异步和类型化:完全异步,并具有完整的类型支持,以实现强大且可预测的工作流程。
export OPENAI_API_KEY="sk-..."
curl https://raw.githubusercontent.com/circlemind-ai/fast-graphrag/refs/heads/main/mock_data.txt > ./book.tx
from fast_graphrag import GraphRAGDOMAIN = "Analyze this story and identify the characters. Focus on how they interact with each other, the locations they explore, and their relationships."EXAMPLE_QUERIES = ["What is the significance of Christmas Eve in A Christmas Carol?","How does the setting of Victorian London contribute to the story's themes?","Describe the chain of events that leads to Scrooge's transformation.","How does Dickens use the different spirits (Past, Present, and Future) to guide Scrooge?","Why does Dickens choose to divide the story into \"staves\" rather than chapters?"]ENTITY_TYPES = ["Character", "Animal", "Place", "Object", "Activty", "Event"]grag = GraphRAG(working_dir="./book_example",domain=DOMAIN,example_queries="\n".join(EXAMPLE_QUERIES),entity_types=ENTITY_TYPES)with open("./book.txt") as f:grag.insert(f.read())print(grag.query("Who is Scrooge?").response)
https://github.com/circlemind-ai/fast-graphrag
53AI,企业落地大模型首选服务商
产品:场景落地咨询+大模型应用平台+行业解决方案
承诺:免费POC验证,效果达标后再合作。零风险落地应用大模型,已交付160+中大型企业
2026-05-14
2026年知识库幻觉根治指南:从 Naive RAG 到 Agentic RAG
2026-05-11
到底是谁会相信RAG已死啊?
2026-05-11
RAG又进化了!微软整了个企业级AgenticRAG
2026-05-11
AI Agent 如何重构 App 稳定性治理流程
2026-05-09
阿里云知识存储 skill?能接入openclaw/Hermes/codex吗
2026-05-07
阿里云知识存储 Skill 上架阿里云官网首批 Agent Skill:让智能体拥有企业级知识库
2026-05-07
1G内存检索2500万向量,Milvus中如何用FLAT在强标量过滤场景搞定毫秒响应?
2026-05-06
多Agent场景,子agent 之间数据读写不同步,如何解决?
2026-03-23
2026-04-06
2026-02-22
2026-03-18
2026-03-20
2026-02-27
2026-02-15
2026-02-21
2026-03-21
2026-03-31
2026-05-11
2026-05-07
2026-05-06
2026-04-27
2026-04-21
2026-03-17
2026-03-11
2026-02-22