sync: ingestion improvements from private repo

- Fixed dimension auto-assignment (locked dimensions now properly assigned)
- Added description field as grounding context for AI
- Updated embedding format: Title → Description → Content → Dimensions
- Description-weighted search (5x boost)
- Bug fixes: extraction tool dimension display, DimensionSearchModal closing
- Removed quickLink tool (use Quick Link workflow instead)
- Added regenerate-description API endpoint
This commit is contained in:
“BeeRad”
2026-01-13 11:03:56 +11:00
parent 3f0426ecf4
commit 4f030c7d29
24 changed files with 590 additions and 270 deletions
-1
View File
@@ -56,7 +56,6 @@ export const TOOL_GROUP_ASSIGNMENTS: Record<string, string> = {
updateNode: 'execution',
createEdge: 'execution',
updateEdge: 'execution',
quickLink: 'execution',
embedContent: 'execution',
youtubeExtract: 'execution',
websiteExtract: 'execution',
-4
View File
@@ -6,7 +6,6 @@ import { updateNodeTool } from '../database/updateNode';
import { createEdgeTool } from '../database/createEdge';
import { queryEdgeTool } from '../database/queryEdge';
import { updateEdgeTool } from '../database/updateEdge';
import { quickLinkTool } from '../database/quickLink';
import { createDimensionTool } from '../database/createDimension';
import { updateDimensionTool } from '../database/updateDimension';
// lockDimension and unlockDimension consolidated into updateDimension (use isPriority param)
@@ -56,7 +55,6 @@ const EXECUTION_TOOLS: Record<string, any> = {
updateNode: updateNodeTool,
createEdge: createEdgeTool,
updateEdge: updateEdgeTool,
quickLink: quickLinkTool,
createDimension: createDimensionTool,
updateDimension: updateDimensionTool,
deleteDimension: deleteDimensionTool,
@@ -89,7 +87,6 @@ const ORCHESTRATOR_TOOL_NAMES = Array.from(new Set([
'updateNode',
'createEdge',
'updateEdge',
'quickLink',
'createDimension',
'updateDimension',
'deleteDimension',
@@ -114,7 +111,6 @@ const PLANNER_TOOL_NAMES = [
'think',
'updateNode',
'createEdge',
'quickLink',
'updateDimension',
];