index.ts
1 /** 2 * Semantic Search Feature - Public API 3 * 4 * This module provides semantic search capabilities for the InterBrain plugin 5 * using Ollama's local embedding API for private, sovereign AI operations. 6 */ 7 8 // Core services 9 export { OllamaEmbeddingService, createOllamaEmbeddingService } from './services/ollama-embedding-service'; 10 export { OllamaHealthService, createOllamaHealthService } from './services/ollama-health-service'; 11 export { indexingService } from './services/indexing-service'; 12 export { semanticSearchService } from './services/semantic-search-service'; 13 14 // Store slice 15 export { createOllamaConfigSlice } from './store/ollama-config-slice'; 16 17 // Types and configurations 18 export type { 19 OllamaConfig, 20 IEmbeddingService, 21 EmbeddingConfig, 22 VectorData, 23 SearchResult, 24 SearchOptions, 25 CommandResult, 26 SetupInstructions 27 } from './types'; 28 29 export { DEFAULT_OLLAMA_CONFIG } from './types'; 30 31 // Command registration 32 export { registerSemanticSearchCommands } from './commands'; 33 34 // Version info 35 export const SEMANTIC_SEARCH_VERSION = '1.0.0';