Frontmatter
| id | 10037 |
| title | ChromaDB Concept Embedding & Hybrid Search |
| state | Closed |
| labels | enhancementaiarchitecture |
| assignees | neo-gemini-pro |
| createdAt | Apr 16, 2026, 12:12 AM |
| updatedAt | May 1, 2026, 7:30 PM |
| githubUrl | https://github.com/neomjs/neo/issues/10037 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 10030 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [x] 10049 Concept Schema Enrichment: Aliases, Analogous Edges & Rich Descriptions, [x] 10032 ConceptService & Source Code Wiring |
| blocking | [] |
| closedAt | May 1, 2026, 7:30 PM |
ChromaDB Concept Embedding & Hybrid Search
tobiu added parent issue #10030 on Apr 16, 2026, 12:12 AM
tobiu marked this issue as being blocked by #10032 on Apr 16, 2026, 12:12 AM
tobiu cross-referenced by #10049 on Apr 17, 2026, 3:39 PM
tobiu marked this issue as being blocked by #10049 on Apr 17, 2026, 3:39 PM
tobiu cross-referenced by #10050 on Apr 17, 2026, 3:44 PM
tobiu cross-referenced by PR #10052 on Apr 17, 2026, 4:30 PM
tobiu cross-referenced by PR #10078 on Apr 19, 2026, 10:33 AM
tobiu cross-referenced by #10080 on Apr 19, 2026, 11:16 AM
tobiu cross-referenced by PR #10084 on Apr 19, 2026, 12:25 PM
tobiu cross-referenced by #10086 on Apr 19, 2026, 12:31 PM
tobiu cross-referenced by #10087 on Apr 19, 2026, 12:31 PM
tobiu cross-referenced by #10030 on Apr 19, 2026, 12:33 PM
tobiu cross-referenced by PR #10100 on Apr 19, 2026, 4:17 PM
tobiu cross-referenced by #10085 on Apr 19, 2026, 4:19 PM
tobiu cross-referenced by PR #10101 on Apr 19, 2026, 4:59 PM
tobiu cross-referenced by PR #10102 on Apr 19, 2026, 5:20 PM
tobiu cross-referenced by #9748 on Apr 20, 2026, 1:13 PM
tobiu closed this issue on May 1, 2026, 7:30 PM
Objective
Embed concept nodes into ChromaDB as
type: 'concept'documents, enabling hybrid semantic search across concepts, guides, and source code.Context
Phase 2 sub-issue of the Concept Ontology epic (#10030). Depends on #10032 (ConceptService with loaded JSONL data). Requires a working ChromaDB instance.
Rationale
Concept nodes have short, focused descriptions (1-3 sentences) — the opposite of the Macro KB semantic dilution problem. Embedding them enables:
queryDocuments({query: "how does reactivity work?", type: "concept"})→ ranked concept nodesqueryDocuments({query: "Neo.core.EffectManager", type: "concept"})→ discover which concept a class implementsDeliverables
1. Concept Embedding Sync
Extend the KB
DatabaseServicesync pipeline (or create a standalone script) to:.neo-ai-data/concepts/nodes.jsonl{ "type": "concept", "name": "Two-Tier Reactivity", "tier": 1, "source": ".neo-ai-data/concepts/nodes.jsonl" }"${name}: ${description}"NEO_GLOBAL_EMBEDDING)2. QueryService Scoring Update
Add
conceptMatchweight toqueryScoreWeightsin KB config:conceptMatch: 15 // Concept results get a scoring boost when type='concept' is queried3. Cross-Type Semantic Validation
Utility method (in ConceptService or as a script) that:
type: 'guide'Three Representations, Three Strengths
.neo-ai-data/concepts/type: 'concept'collectionArchitectural Note
ConceptService lives in the SDK (
ai/services.mjs). UsesKB_ChromaManagerdirectly through SDK imports — no new MCP tools needed.Acceptance Criteria
queryDocuments({type: 'concept'})returns concept resultsOrigin Session ID: 496c0120-29aa-4b02-a804-d5a32ff6b5eb