Enhanced Search Service
by @whoisme007
Enhances memory search by combining co-occurrence graph analysis and semantic similarity for improved contextual relevance and ranking.
clawhub install enhanced-search-serviceπ About This Skill
Enhanced Search Service
Description
Provides enhanced memory search by combining co-occurrence graph analysis and semantic vector similarity. This plugin sits between memory storage and query interfaces, offering improved relevance ranking through contextual relationships and semantic understanding.
Core Capabilities
Dependencies
co-occurrence-engine): Provides relationship graph for contextual expansionsemantic-vector-store): Provides semantic similarity scoringmemory-integration): Optional, for direct memory access if neededUsage
As a Plugin User
from enhanced_search_adapter import EnhancedSearchAdapteradapter = EnhancedSearchAdapter()
results = adapter.enhance_search("query about memory sync", max_results=10)
As a System Integrator
The plugin provides an adapter that implements the standard memory adapter interface with additional enhancement methods.
Skill Files
enhanced-search-service/
βββ SKILL.md (this file)
βββ scripts/
β βββ enhanced_search_service.py # Core service implementation
βββ integration/
β βββ adapter/
β βββ enhanced_search_adapter.py # Adapter for star architecture
βββ references/
βββ api.md # API documentation
βββ architecture.md # Design and integration notes
Configuration
Default configuration (can be overridden via adapter initialization):
search:
co_occurrence_weight: 0.3
semantic_weight: 0.5
text_match_weight: 0.2
max_expansion: 5
min_relevance_threshold: 0.1
Integration with Star Architecture
This plugin connects to the Memory Sync Enhanced (MSE) hub through its adapter. It consumes data from:
It produces enhanced search results for:
Health Checks
The adapter provides health monitoring for:
Version History
Development Notes
This is a Phase 3 split from the original memory-integration plugin. The goal is to create a single-function plugin focused solely on search enhancement, following the star architecture principle of separation of concerns.
π‘ Examples
As a Plugin User
from enhanced_search_adapter import EnhancedSearchAdapteradapter = EnhancedSearchAdapter()
results = adapter.enhance_search("query about memory sync", max_results=10)
As a System Integrator
The plugin provides an adapter that implements the standard memory adapter interface with additional enhancement methods.
βοΈ Configuration
Default configuration (can be overridden via adapter initialization):
search:
co_occurrence_weight: 0.3
semantic_weight: 0.5
text_match_weight: 0.2
max_expansion: 5
min_relevance_threshold: 0.1