Files
semantica/docs
KaifAhmad1 37d75f260e feat(context): Add comprehensive memory and context management methods
- Add memory management methods to AgentContext (exists, count, get, update, delete, clear, list, batch operations)
- Add search methods (search, find_similar, get_context, expand_query)
- Add conversation methods (get_conversation, list_conversations, delete_conversation, conversation_summary)
- Add export/import methods (export, import_data, backup, restore)
- Add statistics methods (stats, health, usage_stats)
- Add similar methods to AgentMemory, ContextRetriever, ContextGraphBuilder, EntityLinker
- Improve error messages with clear, actionable messages
- Update documentation (context_usage.md) with all new methods
- Update notebook (19_Context_Module.ipynb) - remove emojis, add new methods, clean formatting
- Improve error handling in methods.py
2025-12-05 00:44:08 +05:30
..

Semantica Documentation

This documentation is built with MkDocs - a fast, simple static site generator for project documentation.

Features

  • Great themes available - Using Material theme with beautiful design
  • Easy to customize - Custom CSS and theme configuration
  • Preview as you work - Built-in dev server with auto-reload
  • Host anywhere - Static HTML that works on GitHub Pages, Netlify, etc.

Quick Start

1. Install Dependencies

pip install -r requirements-docs.txt

2. Preview Locally

mkdocs serve

Then open http://127.0.0.1:8000 in your browser.

3. Build for Production

mkdocs build

This creates a site/ directory with static HTML files ready to deploy.

Project Structure

semantica/
├── mkdocs.yml           # MkDocs configuration
├── requirements-docs.txt # Python dependencies
├── docs/                # Documentation source files
│   ├── index.md         # Homepage
│   ├── *.md             # Documentation pages
│   ├── css/
│   │   └── custom.css   # Custom styling
│   └── assets/
│       └── img/
│           └── semantica_logo.png
└── site/                # Generated site (created by mkdocs build)

Configuration

Main configuration is in mkdocs.yml:

  • Site metadata
  • Theme settings (Material theme)
  • Navigation structure
  • Markdown extensions
  • Plugins

Adding New Pages

  1. Create a new .md file in docs/
  2. Add it to nav: section in mkdocs.yml
  3. Run mkdocs serve to preview

Customization

Theme

Edit mkdocs.yml under theme: section to customize:

  • Color scheme
  • Logo
  • Features enabled
  • Icons

Styling

Edit docs/css/custom.css for custom styles.

Deployment

GitHub Pages

mkdocs gh-deploy

Netlify/Vercel

  1. Build: mkdocs build
  2. Deploy the site/ directory

Manual

  1. Run mkdocs build
  2. Upload site/ folder contents to your web server

Development Workflow

  1. Edit markdown files in docs/
  2. Run mkdocs serve to preview
  3. Changes auto-reload in browser
  4. When ready, build with mkdocs build

Benefits

  • Python-based (fits with your Python project)
  • Beautiful Material theme
  • Fast and lightweight
  • Easy to customize
  • Great search functionality
  • Mobile responsive