LearnNewsExamplesServices
Frontmatter
id8416
titleUpdate SDK and add RAG verification script
stateClosed
labels
enhancementai
assigneestobiu
createdAtJan 8, 2026, 11:35 AM
updatedAtJan 8, 2026, 11:50 AM
githubUrlhttps://github.com/neomjs/neo/issues/8416
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 8, 2026, 11:50 AM

Update SDK and add RAG verification script

Closed v11.19.0 enhancementai
tobiu
tobiu commented on Jan 8, 2026, 11:35 AM
  1. Update ai/services.mjs to export the new KB_SearchService.
  2. Create ai/examples/test_rag.mjs to verify the ask_knowledge_base functionality. This script should:
    • Initialize the SearchService (and dependencies).
    • Perform a sample query (e.g., "What is a Viewport?").
    • Output the answer and references.
tobiu added the enhancement label on Jan 8, 2026, 11:35 AM
tobiu added the ai label on Jan 8, 2026, 11:35 AM
tobiu referenced in commit d8df3b3 - "feat: Integrate RAG service into SDK and add verification script (#8416)" on Jan 8, 2026, 11:48 AM
tobiu assigned to @tobiu on Jan 8, 2026, 11:49 AM
tobiu
tobiu Jan 8, 2026, 11:49 AM

Input from Gemini 3 Pro:

✦ Completed RAG integration:

  1. Updated ai/services.mjs to export KB_SearchService.
  2. Updated SearchService.mjs to:
    • Accept an object parameter {query, limit} (aligning with OpenAPI).
    • Read file content from disk for context (fallback to metadata).
  3. Created ai/examples/test_rag.mjs which successfully verified the tool's end-to-end functionality.
tobiu closed this issue on Jan 8, 2026, 11:50 AM