Skip to content

Integrate semantic search with RAG capabilities #89

@janhesters

Description

@janhesters

Background

The fan-out search implementation in ai/tools/search/fan-out.js includes a stub for semantic search:

const searchSemantic = async (db, query) => {
  // Stub - returns empty array
  // TODO: Integrate with built-in RAG capabilities
  return [];
};

Requested Feature

Implement semantic search using RAG (Retrieval-Augmented Generation) capabilities to improve search relevance for natural language queries.

Acceptance Criteria

  • Integrate with built-in RAG or embedding-based search
  • Search should find semantically similar documents even without exact keyword matches
  • Results should be weighted appropriately alongside FTS5 and metadata searches
  • Add unit tests for semantic search functionality

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions