Skip to content

[Feature]: Add hybrid semantic search to project knowledge #1049

Description

@roomote-community

Problem

Full-text search cannot reliably retrieve conceptually related code, plans, decisions, and history when terminology differs.

Proposed behavior

Add embedding provider/model/dimension configuration, portable model-versioned canonical vectors, hybrid lexical/vector ranking, bounded exact-vector fallback, and an optional capability-detected pgvector projection. Expose semantic coverage, cost, freshness, and degraded status.

Reuse the inference gateway embedding endpoints and accounting plus the canonical knowledge chunks and authorization from lexical retrieval.

Acceptance criteria

  • Missing embedding configuration leaves lexical retrieval functional.
  • Model migration serves the previous complete index until replacement is ready.
  • pgvector absence never breaks Roomote.
  • Semantic retrieval cannot bypass project boundaries or permissions.
  • Evaluations improve conceptual retrieval without weakening citations.

Dependency

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