v0.2.2

Tencent/WeKnorav0.2.2Dec 15, 2025by lyingbug

AI Summary

This minor release (v0.2.2) adds FAQ management capabilities including answer strategy configuration (all/random modes), recommendation marking, and batch tag updates. It also introduces document summary status tracking, includes Docker build optimizations (pip conflict fixes, Node upgrade), and corrects MINIO_USE_SSL environment variable parsing.

Key Highlights

  • FAQ Answer Strategy Configuration - supports 'all' (return all answers) and 'random' (randomly return one answer) modes
  • FAQ Recommendation Feature - mark recommended Q&A and batch update recommendation status by tag
  • Document Summary Status Tracking - added SummaryStatus field to Knowledge struct
  • Docker Build Optimization - fixed pip dependency conflicts with --break-system-packages, upgraded Node version
  • Bug Fix - corrected MINIO_USE_SSL environment variable parsing logic

New Features

  • FAQ Answer Strategy Configuration with 'all' and 'random' response modes
  • FAQ Recommendation system with recommendation field for marking preferred Q&A
  • Batch update of FAQ recommendation status by tag
  • Document Summary Status Tracking via SummaryStatus field in Knowledge struct
  • Optimized database initialization with conditional embeddings handling
  • Fixed MINIO_USE_SSL environment variable parsing

Full Release Notes

## [0.2.2] - 2025-12-15

### 🚀 New Features
- **NEW**: FAQ Answer Strategy Configuration
  - Added answer strategy field for FAQ entries, supporting `all` (return all answers) and `random` (randomly return one answer) modes
  - More flexible FAQ response control

- **NEW**: FAQ Recommendation Feature
  - Added recommendation field for FAQ entries to mark recommended Q&A
  - Support batch update of FAQ recommendation status by tag
  - Optimized tag deletion logic

- **NEW**: Document Summary Status Tracking
  - Added `SummaryStatus` field to Knowledge struct
  - Support tracking document summary generation status

### ⚡ Infrastructure Improvements
- **IMPROVED**: Docker Build Optimization
  - Fixed system package conflicts during pip dependency installation with `--break-system-packages` parameter
  - Adjusted uvx permission configuration
  - Upgraded Node version

- **IMPROVED**: Database Initialization
  - Optimized database initialization logic with conditional embeddings handling

### 🐛 Bug Fixes
- **FIXED**: Corrected `MINIO_USE_SSL` environment variable parsing logic