LearnNewsExamplesServices
Frontmatter
id7216
titleEnhance AI Knowledge Base with Blog Content
stateClosed
labels
enhancement
assigneestobiu
createdAtSep 19, 2025, 2:32 PM
updatedAtSep 19, 2025, 2:53 PM
githubUrlhttps://github.com/neomjs/neo/issues/7216
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 19, 2025, 2:53 PM

Enhance AI Knowledge Base with Blog Content

Closed v10.6.0 enhancement
tobiu
tobiu commented on Sep 19, 2025, 2:32 PM

Description

The AI knowledge base currently sources its information from JSDoc comments and the learning guides defined in learn/tree.json. This provides a strong foundation but omits a valuable, often more current, source of information: the blog posts located in learn/blog.

This ticket proposes enhancing the knowledge base by including these blog posts in the AI's searchable content.

The Plan

  1. Update learn/tree.json:

    • Dynamically read the contents of the learn/blog directory.
    • For each blog post, add a corresponding entry to the learn/tree.json file.
    • These new entries should be flagged with "hidden": true to prevent them from appearing in the main navigation UI of the learning center, while still making them available for parsing.
  2. Verify Knowledge Base Integration:

    • Ensure the createKnowledgeBase.mjs script correctly parses these new, hidden entries from the updated tree.json.
    • After rebuilding the knowledge base (npm run ai:build-kb), confirm that blog content is being embedded and can be retrieved via queries.

Acceptance Criteria

  • A script or manual process is in place to add blog posts from learn/blog to learn/tree.json with the "hidden": true flag.
  • The createKnowledgeBase.mjs script successfully processes the hidden blog entries.
  • Queries made via npm run ai:query can return blog posts as relevant source files.
tobiu assigned to @tobiu on Sep 19, 2025, 2:32 PM
tobiu added the enhancement label on Sep 19, 2025, 2:32 PM
tobiu referenced in commit 920b8a1 - "Enhance AI Knowledge Base with Blog Content #7216" on Sep 19, 2025, 2:52 PM
tobiu
tobiu Sep 19, 2025, 2:53 PM
Image
tobiu closed this issue on Sep 19, 2025, 2:53 PM