Graph-Native Infrastructure for Context and Accountable AI Systems
Python agent-memoryaiai-governanceai-infrastructureartificial-intelligencecontext-engineeringcontext-graphsdata-engineeringdecision-intelligencedeveloper-toolsexplainable-aigenerative-aigraph-ragknowledge-graphllmontologyprovenancepythonreasoningsemantic-search
Update documentation layout and spacing adjustments
KaifAhmad16155a28d9f99
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex d1868930..c93e64a1 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -49,7 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Added- Core framework architecture-- Universal data ingestion (50+ file formats)+- Universal data ingestion (multiple file formats)- Semantic intelligence engine (NER, relation extraction, event detection)- Knowledge graph construction with entity resolution- 6-stage ontology generation pipelinediff --git a/README.md b/README.mdindex 3fe1170b..aac30d3e 100644--- a/README.md+++ b/README.md@@ -81,7 +81,7 @@ Organizations have **unstructured data** (PDFs, emails, logs), **messy data** (iSemantica operates through three integrated layers that transform raw data into AI-ready knowledge:-**Input Layer** — Universal ingestion from 50+ data formats (PDFs, DOCX, HTML, JSON, CSV, databases, live feeds, APIs, streams, archives, multi-modal content) into a unified pipeline.+**Input Layer** — Universal ingestion from multiple data formats (PDFs, DOCX, HTML, JSON, CSV, databases, live feeds, APIs, streams, archives, multi-modal content) into a unified pipeline.**Semantic Layer** — Core intelligence engine performing entity extraction, relationship mapping, ontology generation, context engineering, and quality assurance. Includes **advanced entity deduplication** (Jaro-Winkler, disjoint property handling) to ensure a clean single source of truth.@@ -96,7 +96,7 @@ Semantica operates through three integrated layers that transform raw data into```mermaidflowchart TD- A[Raw Data Sources<br/>PDFs, Emails, Logs, Databases<br/>50+ Formats] --> B[Input Layer<br/>Universal Data Ingestion]+ A[Raw Data Sources<br/>PDFs, Emails, Logs, Databases<br/>Multiple Formats] --> B[Input Layer<br/>Universal Data Ingestion]B --> C[Format Detection<br/>& Parsing]C --> D[Normalization<br/>& Preprocessing]D --> E[Semantic Layer<br/>Core Intelligence]@@ -155,7 +155,7 @@ flowchart TD**Efficient Embeddings** — Uses **FastEmbed** by default for high-performance, lightweight local embedding generation (faster than sentence-transformers).-**Universal Data Ingestion** — Handles 50+ formats (PDF, DOCX, HTML, JSON, CSV, databases, APIs, streams) with unified pipeline, no custom parsers needed.+**Universal Data Ingestion** — Handles multiple formats (PDF, DOCX, HTML, JSON, CSV, databases, APIs, streams) with unified pipeline, no custom parsers needed.**Automated Semantic Extraction** — NER, relationship extraction, and triplet generation with LLM enhancement discovers entities and relationships automatically.@@ -175,7 +175,7 @@ flowchart TD| **Feature Category** | **Capabilities** | **Key Benefits** ||:---------------------|:-----------------|:------------------|-| **Data Ingestion** | 50+ formats (PDF, DOCX, HTML, JSON, CSV, databases, APIs, streams, archives) | Universal ingestion, no custom parsers needed |+| **Data Ingestion** | Multiple formats (PDF, DOCX, HTML, JSON, CSV, databases, APIs, streams, archives) | Universal ingestion, no custom parsers needed || **Semantic Extraction** | NER, relationship extraction, triplet generation, LLM enhancement | Automated discovery of entities and relationships || **Knowledge Graphs** | Entity resolution, temporal support, graph analytics, query interface | Production-ready, queryable knowledge structures || **Ontology Generation** | 6-stage LLM pipeline, OWL generation, HermiT/Pellet validation | Automated ontology creation from documents |@@ -312,7 +312,7 @@ pip install -e ".[dev]"> **New to Semantica?** Check out the [**Cookbook**](https://github.com/Hawksight-AI/semantica/tree/main/cookbook) for hands-on examples!-- [**Cookbook**](https://github.com/Hawksight-AI/semantica/tree/main/cookbook) - 50+ interactive notebooks+- [**Cookbook**](https://github.com/Hawksight-AI/semantica/tree/main/cookbook) - Interactive notebooks- [Introduction](https://github.com/Hawksight-AI/semantica/tree/main/cookbook/introduction) - Getting started tutorials- [Advanced](https://github.com/Hawksight-AI/semantica/tree/main/cookbook/advanced) - Advanced techniques- [Use Cases](https://github.com/Hawksight-AI/semantica/tree/main/cookbook/use_cases) - Real-world applications@@ -321,7 +321,7 @@ pip install -e ".[dev]"| **Data Ingestion** | **Semantic Extract** | **Knowledge Graphs** | **Ontology** ||:--------------------:|:----------------------:|:----------------------:|:--------------:|-| [50+ Formats](#universal-data-ingestion) | [Entity & Relations](#semantic-intelligence-engine) | [Graph Analytics](#knowledge-graph-construction) | [Auto Generation](#ontology-generation--management) |+| [Multiple Formats](#universal-data-ingestion) | [Entity & Relations](#semantic-intelligence-engine) | [Graph Analytics](#knowledge-graph-construction) | [Auto Generation](#ontology-generation--management) || **Context** | **GraphRAG** | **Pipeline** | **QA** || [Agent Memory](#context-engineering-for-ai-agents) | [Hybrid RAG](#knowledge-graph-powered-rag-graphrag) | [Parallel Workers](#pipeline-orchestration--parallel-processing) | [Conflict Resolution](#production-ready-quality-assurance) |@@ -329,7 +329,7 @@ pip install -e ".[dev]"### Universal Data Ingestion-> **50+ file formats** • PDF, DOCX, HTML, JSON, CSV, databases, feeds, archives+> **Multiple file formats** • PDF, DOCX, HTML, JSON, CSV, databases, feeds, archives```pythonfrom semantica.ingest import FileIngestor, WebIngestor, DBIngestor@@ -554,7 +554,7 @@ exporter.export("graph.ttl", format="turtle")## 🚀 Quick Start-> **For comprehensive examples, see the [**Cookbook**](https://github.com/Hawksight-AI/semantica/tree/main/cookbook) with 50+ interactive notebooks!**+> **For comprehensive examples, see the [**Cookbook**](https://github.com/Hawksight-AI/semantica/tree/main/cookbook) with interactive notebooks!**```pythonfrom semantica.core import Semantica@@ -577,7 +577,7 @@ print(f"Answer: {result.answer} | Nodes: {kg.node_count}, Edges: {kg.edge_count}**AI Agents & Autonomous Systems** — Build agents with persistent memory and semantic understanding.-**Multi-Format Document Processing** — Process 50+ formats through a unified pipeline.+**Multi-Format Document Processing** — Process multiple formats through a unified pipeline.**Data Pipeline Processing** — Build scalable pipelines with parallel execution.@@ -593,7 +593,7 @@ print(f"Answer: {result.answer} | Nodes: {kg.node_count}, Edges: {kg.edge_count}**Incremental Updates** — Real-time stream processing with Kafka, RabbitMQ, Kinesis for live updates.-**Multi-Language Support** — Process 50+ languages with automatic detection.+**Multi-Language Support** — Process multiple languages with automatic detection.**Custom Ontology Import** — Import and extend Schema.org and custom ontologies.diff --git a/docs/architecture.md b/docs/architecture.mdindex 24fc2941..f230af11 100644--- a/docs/architecture.md+++ b/docs/architecture.md@@ -28,7 +28,7 @@ graph TB### Three-Layer Architecture**1. Data Ingestion Layer**-- 50+ file formats (PDF, DOCX, JSON, CSV, etc.)+- Multiple file formats (PDF, DOCX, JSON, CSV, etc.)- Web scraping and APIs- Real-time streams (Kafka, RabbitMQ)- Database connectors (SQL, NoSQL)diff --git a/docs/css/custom.css b/docs/css/custom.cssindex e627fdde..d6f4c326 100644--- a/docs/css/custom.css+++ b/docs/css/custom.css@@ -501,4 +501,87 @@ html {/* Ensure nested items in TOC don't inherit the border unless active themselves */.md-nav__item .md-nav__item--active > .md-nav__link {border-left: 2px solid var(--md-accent-fg-color);+}++/*+ ==========================================================================+ Home Page Content Alignment - Left Align+ ==========================================================================+*/++/* Reduce spacing between sidebars and content for all pages */+.md-content__inner {+ padding-left: 0.75rem;+ padding-right: 0.75rem;+ margin-left: 0;+}++.md-content {+ margin-left: 0;+ padding-left: 0.5rem;+ padding-right: 0.5rem;+}++/* Reduce spacing before left sidebar for all pages */+.md-sidebar {+ padding-left: 0.25rem;+ margin-left: 0;+}++.md-sidebar--primary {+ padding-right: 0.5rem;+ padding-left: 0.25rem;+ margin-left: 0;+}++/* Reduce spacing after right sidebar (table of contents) and shift it right slightly */+.md-sidebar--secondary {+ padding-left: 1.25rem;+ padding-right: 0;+ margin-right: 0;+ margin-left: 3.5rem;+}++/* Reduce right edge spacing - similar to left */+.md-container {+ padding-right: 0;+ margin-right: 0;+}++.md-main {+ margin-right: 0;+ padding-right: 0;+}++/* Reduce margins of the main container */+.md-main__inner {+ margin-left: 0;+ margin-right: 0;+ padding-right: 0;+}++/* Reduce right edge spacing on body/html */+body {+ margin-right: 0;+ padding-right: 0;+}++html {+ margin-right: 0;+ padding-right: 0;+}++.md-grid {+ margin-left: 0;+ padding-left: 0.5rem;+}++/* Ensure text content is left-aligned by default */+.md-typeset {+ text-align: left;+}++/* Keep hero section centered */+.md-typeset > div[align="center"] {+ text-align: center;}\ No newline at end of filediff --git a/docs/index.md b/docs/index.mdindex 8673036c..1d9cd9f5 100644--- a/docs/index.md+++ b/docs/index.md@@ -1,278 +1,192 @@<div align="center"><img src="assets/img/semantica_logo.png" alt="Semantica Logo" width="450" height="auto">-</div>--<p align="center">- <h1 align="center">🧠 Semantica</h1>-</p>--<p align="center">++ <h1>🧠 Semantica</h1>+<a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="Python 3.8+"></a><a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a><a href="https://badge.fury.io/py/semantica"><img src="https://badge.fury.io/py/semantica.svg" alt="PyPI version"></a><a href="https://pepy.tech/project/semantica"><img src="https://pepy.tech/badge/semantica" alt="Downloads"></a><a href="https://semantica.readthedocs.io/"><img src="https://img.shields.io/badge/docs-latest-brightgreen.svg" alt="Documentation"></a><a href="https://discord.gg/semantica"><img src="https://img.shields.io/discord/semantica?color=7289da&label=discord" alt="Discord"></a>-</p>++ <p><strong>Open Source Framework for Semantic Layer & Knowledge Engineering</strong></p>++ <p><strong>Transform chaotic data into intelligent knowledge.</strong></p>++ <p><em>The missing fabric between raw data and AI engineering. A comprehensive open-source framework for building semantic layers and knowledge engineering systems that transform unstructured data into AI-ready knowledge — powering Knowledge Graph-Powered RAG (GraphRAG), AI Agents, Multi-Agent Systems, and AI applications with structured semantic knowledge.</em></p>++ <p>🆓 <strong>100% Open Source</strong> • 📜 <strong>MIT Licensed</strong> • 🚀 <strong>Production Ready</strong> • 🌍 <strong>Community Driven</strong></p>++ <p>+ <a href="getting-started/" class="md-button md-button--primary">Get Started</a>+ <a href="https://github.com/Hawksight-AI/semantica" class="md-button">View on GitHub</a>+ </p>+</div>-<p align="center">- <strong>Open Source Framework for building Semantic Layers and Knowledge Engineering</strong>-</p>+---++## 🌟 What is Semantica?-<p align="center">- <strong>Transform chaotic data into intelligent knowledge.</strong>-</p>+Semantica bridges the gap between raw data chaos and AI-ready knowledge. It's a **semantic intelligence platform** that transforms unstructured data into structured, queryable knowledge graphs powering GraphRAG, AI agents, and multi-agent systems.-<p align="center">- <em>The missing fabric between raw data and AI engineering. A comprehensive open-source framework for building semantic layers and knowledge engineering systems that transform unstructured data into AI-ready knowledge — powering Knowledge Graph-Powered RAG (GraphRAG), AI Agents, Multi-Agent Systems, and AI applications with structured semantic knowledge.</em>-</p>+### What Makes Semantica Different?-<p align="center">- 🆓 <strong>100% Open Source</strong> • 📜 <strong>MIT Licensed</strong> • 🚀 <strong>Production Ready</strong> • 🌍 <strong>Community Driven</strong>-</p>+Unlike traditional approaches that process isolated documents and extract text into vectors, Semantica understands **semantic relationships across all content**, provides **automated ontology generation**, and builds a **unified semantic layer** with **production-grade QA**.-<p align="center">- <a href="getting-started/" class="md-button md-button--primary">Get Started</a>- <a href="https://github.com/Hawksight-AI/semantica" class="md-button">View on GitHub</a>-</p>+| **Traditional Approaches** | **Semantica's Approach** |+|:---------------------------|:-------------------------|+| Process data as isolated documents | **Understands semantic relationships across all content** |+| Extract text and store vectors | **Builds knowledge graphs with meaningful connections** |+| Generic entity recognition | **General-purpose ontology generation and validation** |+| Manual schema definition | **Automatic semantic modeling from content patterns** |+| Disconnected data silos | **Unified semantic layer across all data sources** |+| Basic quality checks | **Production-grade QA with conflict detection & resolution** |---## 🎯 The Problem We Solve-### The Data-to-AI Gap+### The Semantic Gap-Modern organizations face a fundamental challenge: **the semantic gap between raw data and AI systems**.+Organizations today face a **fundamental mismatch** between how data exists and how AI systems need it.-You have mountains of data—PDFs, emails, documents, databases—but AI systems need structured, validated knowledge with semantic relationships. This gap is the #1 blocker for production AI.--```mermaid-flowchart TD- subgraph RawData ["📦 RAW DATA CHAOS"]- direction TB- A["📄 PDFs & Documents"]- B["📧 Emails & Chat"]- C["💾 Databases"]- D["🌐 Web Content"]- end-- subgraph Gap ["❌ THE SEMANTIC GAP"]- direction TB- X["MISSING LAYER"]- X1["No Context"]- X2["No Relationships"]- X3["No Validation"]- X --> X1- X --> X2- X --> X3- end-- subgraph AI ["🤖 AI SYSTEMS NEEDS"]- direction TB- F["AI Agents"]- G["GraphRAG"]- H["Reasoning"]- I["Multi-Agent"]- end-- RawData ==>|"Unstructured Noise"| Gap- Gap ==>|"Hallucinations & Errors"| AI-- style Gap fill:#ffebee,stroke:#c62828,stroke-width:3px,stroke-dasharray: 5 5- style RawData fill:#f5f5f5,stroke:#616161,stroke-width:2px- style AI fill:#e3f2fd,stroke:#1565c0,stroke-width:2px-```+#### The Semantic Gap: Problem vs. Solution-### Real-World Consequences+Organizations have **unstructured data** (PDFs, emails, logs), **messy data** (inconsistent formats, duplicates, conflicts), and **disconnected silos** (no shared context, missing relationships). AI systems need **clear rules** (formal ontologies), **structured entities** (validated, consistent), and **relationships** (semantic connections, context-aware reasoning).-**Without a semantic layer, your AI systems fail:**+| **What Organizations Have** | **What AI Systems Require** |+|:------------------------------|:------------------------------|+| **Unstructured Data** | **Clear Rules** |+| PDFs, emails, logs | Formal ontologies |+| Mixed schemas | Graphs & Networks |+| Conflicting facts | |+| **Messy, Noisy Data** | **Structured Entities** |+| Inconsistent formats | Validated entities |+| Duplicate records | Domain Knowledge |+| Missing relationships | |+| **Disconnected, Siloed Data** | **Relationships** |+| Data in separate systems | Semantic connections |+| No shared context | Context-Aware Reasoning |+| Isolated knowledge | |-<div class="grid cards" markdown>+### What Happens Without Semantics?-- **🔴 RAG Systems Fail**- ---- - Vector search alone misses crucial relationships- - No graph traversal for context expansion- - Significantly lower accuracy than hybrid approaches- - Can't answer multi-hop questions+**They Break** — Systems crash due to inconsistent formats and missing structure.-- **🔴 AI Agents Hallucinate**- ---- - No ontological constraints to validate actions- - Missing semantic routing for intent understanding- - No persistent memory across conversations- - Can't reason about domain rules+**They Hallucinate** — AI models generate false information without semantic context to validate outputs.-- **🔴 Multi-Agent Coordination Fails**- ---- - No shared semantic models for collaboration- - Unable to validate actions against domain rules- - Conflicting knowledge representations- - Agents work in silos, not as a team+**They Fail Silently** — Systems return wrong answers without warnings, leading to bad decisions.-- **🔴 Knowledge Is Untrusted**- ---- - Duplicate entities pollute graphs- - Conflicting facts from different sources- - No provenance tracking or validation- - Can't explain where knowledge came from+**Why?** Systems have data — not semantics. They can't connect concepts, understand relationships, validate against domain rules, or detect conflicts.-</div>+### The Semantica Framework----+Semantica operates through three integrated layers that transform raw data into AI-ready knowledge:-## 🌟 What is Semantica?+**Input Layer** — Universal ingestion from multiple data formats (PDFs, DOCX, HTML, JSON, CSV, databases, live feeds, APIs, streams, archives, multi-modal content) into a unified pipeline.-Semantica is the **first comprehensive open-source framework** that bridges the critical gap between raw data chaos and AI-ready knowledge. It's not just another data processing library—it's a complete **semantic intelligence platform** that transforms unstructured information into structured, queryable knowledge graphs.+**Semantic Layer** — Core intelligence engine performing entity extraction, relationship mapping, ontology generation, context engineering, and quality assurance. Includes **advanced entity deduplication** (Jaro-Winkler, disjoint property handling) to ensure a clean single source of truth.-### The Vision+**Output Layer** — Production-ready knowledge graphs, vector embeddings, and validated ontologies that power GraphRAG systems, AI agents, and multi-agent systems.-In the era of AI agents and autonomous systems, **data alone isn't enough. Context is king.** Semantica provides the semantic infrastructure that enables AI systems to truly understand, reason about, and act upon information with human-like comprehension.+**Powers: GraphRAG, AI Agents, Multi-Agent Systems**-### What Makes Semantica Different?--| Traditional Approaches | Semantica's Approach |-|------------------------|---------------------|-| Process data as isolated documents | **Understands semantic relationships across all content** |-| Extract text and store vectors | **Builds knowledge graphs with meaningful connections** |-| Generic entity recognition | **General-purpose ontology generation and validation** |-| Manual schema definition | **Automatic semantic modeling from content patterns** |-| Disconnected data silos | **Unified semantic layer across all data sources** |-| Basic quality checks | **Production-grade QA with conflict detection & resolution** |-------## ✅ The Semantica Solution--Semantica fills the semantic gap with a **complete intelligence framework**:+#### Semantica Processing Flow```mermaidflowchart TD- subgraph Input ["📥 INPUT LAYER"]- direction TB- I1["Files & Documents"]- I2["API Streams"]- I3["Databases"]- end-- subgraph Engine ["🧠 SEMANTICA ENGINE"]- direction TB- S1["Entity Extraction"]- S2["Relation Mapping"]- S3["Ontology Generation"]- S4["Conflict Resolution"]- end-- subgraph Output ["📤 KNOWLEDGE OUTPUT"]- direction TB- O1["Knowledge Graph"]- O2["Vector Store"]- O3["Reasoning API"]- end-- Input ====>|"<b>Ingest & Parse</b>"| Engine- Engine ====>|"<b>Synthesize & Validate</b>"| Output-- style Engine fill:#e8f5e9,stroke:#2e7d32,stroke-width:3px- style Input fill:#f5f5f5,stroke:#616161,stroke-width:2px- style Output fill:#e3f2fd,stroke:#1565c0,stroke-width:2px+ A[Raw Data Sources<br/>PDFs, Emails, Logs, Databases<br/>Multiple Formats] --> B[Input Layer<br/>Universal Data Ingestion]+ B --> C[Format Detection<br/>& Parsing]+ C --> D[Normalization<br/>& Preprocessing]+ D --> E[Semantic Layer<br/>Core Intelligence]++ E --> F[Entity Extraction<br/>NER + LLM Enhancement]+ E --> G[Relationship Mapping<br/>Triplet Generation]+ E --> H[Ontology Generation<br/>6-Stage Pipeline]+ E --> I[Context Engineering<br/>Semantic Enrichment]+ E --> J[Quality Assurance<br/>Conflict Detection]++ F --> K[Output Layer]+ G --> K+ H --> K+ I --> K+ J --> K++ K --> L[Knowledge Graphs<br/>Production-Ready]+ K --> M[Vector Embeddings<br/>Semantic Search]+ K --> N[Ontologies<br/>OWL Validated]++ L --> O[Application Layer]+ M --> O+ N --> O++ O --> P[GraphRAG Engine<br/>91% Accuracy]+ O --> Q[AI Agents<br/>Persistent Memory]+ O --> R[Multi-Agent Systems<br/>Shared Models]+ O --> S[Analytics & BI<br/>Graph Insights]```-### Powers Next-Gen AI Applications+----- **GraphRAG**: Hybrid retrieval combining vector search + graph traversal for improved accuracy-- **AI Agents**: Ontology-constrained actions with semantic routing and persistent memory-- **Multi-Agent Systems**: Shared semantic models for coordinated decision-making-- **Knowledge Engineering**: Production-grade knowledge graphs with provenance and validation+## 💡 The Semantica Solution----+**Semantica** is an **open-source framework** that closes the semantic gap between real-world messy data and the structured semantic layers required by advanced AI systems — GraphRAG, agents, multi-agent systems, reasoning models, and more.-## 🚀 Choose Your Path+### How Semantica Solves These Problems<div class="grid cards" markdown>-- :material-rocket-launch: **Quick Start**+- :material-lightning-bolt: **Efficient Embeddings**---- Get up and running with Semantica in minutes. Learn the basics of ingestion and extraction.-- [:arrow_right: Start Here](getting-started.md)+ Uses **FastEmbed** by default for high-performance, lightweight local embedding generation (faster than sentence-transformers).-- :material-book-open-page-variant: **Core Concepts**+- :material-database-import: **Universal Data Ingestion**---- Deep dive into Knowledge Graphs, Ontologies, and Semantic Reasoning.-- [:arrow_right: Learn Concepts](concepts.md)+ Handles multiple formats (PDF, DOCX, HTML, JSON, CSV, databases, APIs, streams) with unified pipeline, no custom parsers needed.-- :material-code-braces: **API Reference**+- :material-brain: **Automated Semantic Extraction**---- Detailed technical documentation for all Semantica modules and classes.-- [:arrow_right: View API](reference/core.md)+ NER, relationship extraction, and triplet generation with LLM enhancement discovers entities and relationships automatically.-- :material-chef-hat: **Cookbook**+- :material-graph: **Knowledge Graph Construction**---- Interactive tutorials, real-world examples, and copy-paste recipes.-- [:arrow_right: Explore Cookbook](cookbook.md)--</div>-------## 📦 Installation--!!! success "Now Available on PyPI!"- Semantica is officially published on PyPI! Install it with a single command.--=== "From PyPI (Recommended)"-- Install Semantica directly from PyPI:-- ```bash- # Install the core package- pip install semantica-- # Or install with all optional dependencies- pip install semantica[all]- ```--=== "From Source"-- Install from the local source for the latest development version:-- ```bash- # Clone the repository- git clone https://github.com/Hawksight-AI/semantica.git- cd semantica-- # Install in editable mode with core dependencies- pip install -e .+ Production-ready graphs with entity resolution, temporal support, and graph analytics. Queryable knowledge ready for AI applications.- # Or install with all optional dependencies- pip install -e ".[all]"- ```+- :material-robot: **GraphRAG Engine**+ ---+ Hybrid vector + graph retrieval achieves **91% accuracy** (30% improvement) via semantic search + graph traversal for multi-hop reasoning.-=== "Development"+- :material-account-cog: **AI Agent Context Engineering**+ ---+ Persistent memory with RAG + knowledge graphs enables context maintenance, action validation, and structured knowledge access.- For contributors who want to modify the framework:+- :material-book-open-variant: **Automated Ontology Generation**+ ---+ 6-stage LLM pipeline generates validated OWL ontologies with HermiT/Pellet validation, eliminating manual engineering.- ```bash- # Clone the repository- git clone https://github.com/Hawksight-AI/semantica.git- cd semantica+- :material-shield-check: **Production-Grade QA**+ ---+ Conflict detection, deduplication, quality scoring, and provenance tracking ensure trusted, production-ready knowledge graphs.- # Install in editable mode with dev dependencies- pip install -e ".[dev]"- ```+- :material-cog-transfer: **Pipeline Orchestration**+ ---+ Flexible pipeline builder with parallel execution enables scalable processing via orchestrator-worker pattern.-=== "Docker"+</div>- Run Semantica in a containerized environment:+### Core Features at a Glance- ```bash- docker pull semantica/semantica:latest- docker run -it semantica/semantica- ```+| **Feature Category** | **Capabilities** | **Key Benefits** |+|:---------------------|:-----------------|:------------------|+| **Data Ingestion** | Multiple formats (PDF, DOCX, HTML, JSON, CSV, databases, APIs, streams, archives) | Universal ingestion, no custom parsers needed |+| **Semantic Extraction** | NER, relationship extraction, triplet generation, LLM enhancement | Automated discovery of entities and relationships |+| **Knowledge Graphs** | Entity resolution, temporal support, graph analytics, query interface | Production-ready, queryable knowledge structures |+| **Ontology Generation** | 6-stage LLM pipeline, OWL generation, HermiT/Pellet validation | Automated ontology creation from documents |+| **GraphRAG** | Hybrid vector + graph retrieval, multi-hop reasoning | 91% accuracy, 30% improvement over vector-only |+| **Agent Memory** | Persistent memory (Save/Load), Hybrid Retrieval (Vector+Graph), FastEmbed support | Context-aware agents with semantic understanding |+| **Pipeline Orchestration** | Parallel execution, custom steps, orchestrator-worker pattern | Scalable, flexible data processing |+| **Quality Assurance** | Conflict detection, deduplication, quality scoring, provenance | Trusted knowledge graphs ready for production |---@@ -280,7 +194,7 @@ flowchart TD### 1. 📊 Universal Data Ingestion-Process **50+ file formats** with intelligent semantic extraction:+Process **multiple file formats** with intelligent semantic extraction:<div class="grid cards" markdown>@@ -369,6 +283,117 @@ Power GraphRAG applications with:---+## 🚀 Choose Your Path++<div class="grid cards" markdown>++- :material-rocket-launch: **Quick Start**+ ---+ Get up and running with Semantica in minutes. Learn the basics of ingestion and extraction.++ [:arrow_right: Start Here](getting-started.md)++- :material-book-open-page-variant: **Core Concepts**+ ---+ Deep dive into Knowledge Graphs, Ontologies, and Semantic Reasoning.++ [:arrow_right: Learn Concepts](concepts.md)++- :material-code-braces: **API Reference**+ ---+ Detailed technical documentation for all Semantica modules and classes.++ [:arrow_right: View API](reference/core.md)++- :material-chef-hat: **Cookbook**+ ---+ Interactive tutorials, real-world examples, and **18 domain-specific cookbooks**.++ [:arrow_right: Explore Cookbook](cookbook.md)++</div>++---++## 📦 Installation++!!! success "Now Available on PyPI!"+ Semantica is officially published on PyPI! Install it with a single command.++=== "From PyPI (Recommended)"++ Install Semantica directly from PyPI:++ ```bash+ # Install the core package+ pip install semantica++ # Or install with all optional dependencies+ pip install semantica[all]+ ```++=== "From Source"++ Install from the local source for the latest development version:++ ```bash+ # Clone the repository+ git clone https://github.com/Hawksight-AI/semantica.git+ cd semantica++ # Install in editable mode with core dependencies+ pip install -e .++ # Or install with all optional dependencies+ pip install -e ".[all]"+ ```++=== "Development"++ For contributors who want to modify the framework:++ ```bash+ # Clone the repository+ git clone https://github.com/Hawksight-AI/semantica.git+ cd semantica++ # Install in editable mode with dev dependencies+ pip install -e ".[dev]"+ ```++=== "Docker"++ Run Semantica in a containerized environment:++ ```bash+ docker pull semantica/semantica:latest+ docker run -it semantica/semantica+ ```++---++## 🚦 Quick Example++```python+from semantica.core import Semantica++# Initialize+core = Semantica()++# Ingest documents+docs = core.ingest.load("documents/", recursive=True)++# Build knowledge graph+kg = core.kg.build_graph(docs, merge_entities=True)++# Query+result = kg.query("Who founded Apple Inc.?")+print(result.answer) # Steve Jobs, Steve Wozniak, Ronald Wayne+print(result.confidence) # 0.98+```++---+## 🎯 Why Semantica?<div class="grid cards" markdown>@@ -414,33 +439,11 @@ Power GraphRAG applications with:----## 🚦 Quick Example--```python-from semantica.core import Semantica--# Initialize-core = Semantica()--# Ingest documents-docs = core.ingest.load("documents/", recursive=True)--# Build knowledge graph-kg = core.kg.build_graph(docs, merge_entities=True)--# Query-result = kg.query("Who founded Apple Inc.?")-print(result.answer) # Steve Jobs, Steve Wozniak, Ronald Wayne-print(result.confidence) # 0.98-```-------## � Learn More+## 📚 Learn More- [Getting Started Guide](getting-started.md) - Your first knowledge graph in 5 minutes- [Core Concepts](concepts.md) - Deep dive into knowledge graphs and ontologies-- [Cookbook](cookbook.md) - Real-world examples and tutorials+- [Cookbook](cookbook.md) - Real-world examples and **18 domain-specific cookbooks**- [API Reference](reference/core.md) - Complete technical documentation---diff --git a/docs/modules.md b/docs/modules.mdindex 4e226838..2352cbb4 100644--- a/docs/modules.md+++ b/docs/modules.md@@ -35,7 +35,7 @@ These modules handle data ingestion, parsing, chunking, and preparation.**Key Features:**-- 50+ file format support (PDF, DOCX, HTML, JSON, CSV, etc.)+- Multiple file format support (PDF, DOCX, HTML, JSON, CSV, etc.)- Web scraping with JavaScript rendering- Database integration (SQL, NoSQL)- Real-time streaming support@@ -79,7 +79,7 @@ web_docs = web_ingestor.ingest("https://example.com")**Key Features:**-- 50+ file format support+- Multiple file format support- OCR for images and scanned documents- Table extraction from PDFs and spreadsheets- Metadata preservation