Repolode
robert-mcdermott

robert-mcdermott/ai-knowledge-graph

Turns unstructured text into an interactive knowledge graph by using an LLM to extract subject-predicate-object triples.

Звёзды
3,124
Форки
434
Открытые issues
8
Последний коммит
в прошлом месяце

Что это?

AI Knowledge Graph Generator takes text documents such as .txt, .md, .pdf and .docx files and uses an LLM to extract Subject-Predicate-Object triples with entity types. The triples are merged, standardized and optionally enriched with inferred relationships, then rendered as a single self-contained interactive HTML page with search, communities, a path finder and a relationships panel that shows the source sentence for each extracted edge.

The tool works with any OpenAI-compatible endpoint, including local models through Ollama, LM Studio or vLLM, and hosted services such as OpenAI and Gemini. Results can also be exported as JSON, CSV, GraphML for Gephi, Cytoscape or yEd, and a Cypher script for Neo4j.

Optional commands let you ask questions of a generated graph with cited answers (graph-chat) or browse and build graphs from a local web interface (graph-serve). Sample graphs are included so the explorer can be tried without an LLM.

Ключевые возможности

  • 01Extracts typed Subject-Predicate-Object triples from .txt, .md, .rst, .pdf and .docx inputs
  • 02Standardizes entity name variants and optionally uses an LLM to merge the rest
  • 03Infers extra relationships, marking each inferred edge with its method
  • 04Exports to JSON, CSV, GraphML and Neo4j Cypher
  • 05Produces a self-contained interactive HTML explorer with search, communities and path finding
  • 06Works with any OpenAI-compatible LLM endpoint and caches responses on disk

Сценарии использования

  • Turning meeting notes, research papers or long reports into a visual map of entities and relationships
  • Exploring the structure of a biography, historical period or supply chain from a text corpus
  • Loading extracted triples into Neo4j or Gephi for further analysis
  • Running entity extraction with a local model so the source text stays on your machine

Темы

Частые вопросы

Что такое ai-knowledge-graph?
Turns unstructured text into an interactive knowledge graph by using an LLM to extract subject-predicate-object triples. AI Knowledge Graph Generator takes text documents such as .txt, .md, .pdf and .docx files and uses an LLM to extract Subject-Predicate-Object triples with entity types. The triples are merged, standardized and optionally enriched with inferred relationships, then rendered as a single self-contained interactive HTML page with search, communities, a path finder and a relationships panel that shows the source sentence for each extracted edge.
ai-knowledge-graph можно использовать бесплатно? Какая у него лицензия?
ai-knowledge-graph распространяется с открытым исходным кодом под лицензией Apache-2.0. Перед использованием в коммерческих продуктах проверьте условия лицензии.
ai-knowledge-graph всё ещё поддерживается?
Обновлялся за последние 6 месяцев. Последний коммит в ai-knowledge-graph — 13 сент. 2026 г..
Для чего можно использовать ai-knowledge-graph?
Turning meeting notes, research papers or long reports into a visual map of entities and relationships Exploring the structure of a biography, historical period or supply chain from a text corpus Loading extracted triples into Neo4j or Gephi for further analysis Running entity extraction with a local model so the source text stays on your machine
Где скачать ai-knowledge-graph?
Исходный код и инструкции по установке — на GitHub: https://github.com/robert-mcdermott/ai-knowledge-graph

Описание создано ИИ на основе README проекта. Статистика GitHub обновляется ежедневно.

Похожие проекты

AutoGPT — платформа с открытым исходным кодом для создания, запуска и планирования AI-агентов, выполняющих многоэтапные рабочие процессы по текстовому описанию или с помощью визуального конструктора.

187,7 тыс.45,9 тыс.PythonOtherОбновлён 3 часа назад

Python-инфраструктура, которая превращает корпоративные данные в контекстный слой на основе графов с онтологиями, логическим выводом, отслеживанием происхождения данных и аудитом решений для AI-систем.

14,1 тыс.1,7 тыс.PythonMITОбновлён 4 часа назад