Skip to content

v1.3.2

Latest

Choose a tag to compare

@koishi510 koishi510 released this 23 Mar 07:49
· 22 commits to main since this release

What's Changed

Added

  • RAG hybrid retrieval pipeline: 4-stage pipeline — query transformation, hybrid retrieval (vector + keyword via RRF), LLM-based reranking, configurable threshold/top-K filtering
  • Full-text search index: GIN tsvector index for keyword-based document retrieval
  • RAG configuration: Environment-configurable RAG parameters
  • Rerank API support: LLM-based passage reranking in OpenAI-compatible client

Changed

  • RAG code quality: Decomposed hybridRetrieve into focused sub-functions; extracted testable pure functions
  • SQL literal deduplication: Constants for repeated SQL where clauses
  • golangci-lint integration: Added to make lint pipeline; fixed errcheck warnings

Fixed

  • SonarCloud quality gate: Resolved duplicated literals, cognitive complexity, and coverage issues
  • Test coverage: Comprehensive tests for RAG service, config package, and OpenAI client rerank

Full Changelog: v1.3.1...v1.3.2