Files
semantica/docs/cookbook.md
T

9.8 KiB

Cookbook Recipes

Interactive Jupyter notebooks with hands-on examples and tutorials.

Introduction

Get started with Semantica through these beginner-friendly tutorials.

Getting Started

Core Concepts

Quality and Analysis

Advanced Features

  • Embedding Generation - Generate embeddings

  • Vector Store - Store and query vectors

  • Ontology - Work with ontologies

  • Visualization - Visualize knowledge graphs

  • Export - Export in various formats

  • :material-robot: GraphRAG Complete

    Build a production-ready Graph Retrieval Augmented Generation system.

    New Features: Graph Validation, Logical Inference, Hybrid Context.

    Topics: RAG, LLMs, Vector Search, Graph Traversal

    Difficulty: Advanced

    Open Notebook

  • :material-scale-balance: RAG vs. GraphRAG Comparison

    Side-by-side comparison of Standard RAG vs. GraphRAG using real-world data.

    New Features: Inference-Enhanced GraphRAG, Reasoning Gap Analysis.

    Topics: RAG, GraphRAG, Benchmarking, Visualization

    Difficulty: Intermediate

    Open Notebook

Advanced

Advanced techniques and patterns for experienced users.

Advanced Extraction

Graph Operations

Integration and Processing

Quality and Resolution

Visualization and Export

Use Cases

Real-world applications across various domains.

Advanced RAG

Biomedical

Blockchain

Cybersecurity

Finance

Healthcare

Intelligence

Renewable Energy

Supply Chain

Trading

Running the Notebooks

Prerequisites

# Install Semantica
pip install semantica

# Install Jupyter
pip install jupyter notebook

# Optional: Install JupyterLab
pip install jupyterlab

Launch Jupyter

# Start Jupyter Notebook
jupyter notebook

# Or start JupyterLab
jupyter lab

Navigate to the cookbook/ directory and open any notebook.

Viewing on GitHub

All notebooks can be viewed directly on GitHub. Click any notebook link above to view it online.

Contributing

Have a use case or example to share? We welcome contributions!

  1. Create a new notebook in the appropriate category
  2. Follow the existing notebook structure
  3. Submit a pull request

See our Contributing Guide for details.