From 318636d33d00fc7f70012eae39584c0e621fb68a Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Tue, 23 Dec 2025 17:23:44 +0100 Subject: [PATCH] release: v1.3.3 - LLM prompt improvements and dead code cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Improved LLM prompts with temperature control and negative constraints - Removed dead code and unused imports - Wired /query/semantic and /query/graph to real implementations - Updated test fixtures for external service access 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b81870b..bdd3cbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,32 @@ All notable changes to Library Desk will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.3.3] - 2025-12-23 + +### Added + +- Temperature parameter to `OllamaClient.generate_text()` for controlling output determinism +- `TODO.md` tracking remaining stub endpoints to implement +- Wired `/query/semantic` endpoint to VectorService +- Wired `/query/graph` endpoint to GraphService + +### Changed + +- **Improved LLM prompts** based on llm-findings.md recommendations: + - Keyword extraction: temperature 0.0, negative constraints + - LLM re-ranking: temperature 0.0, explicit rules + - Conflict detection: temperature 0.0, analysis steps (CoT) + - Wiki page creation: temperature 0.3, anti-hallucination constraints + - Page reconstruction: temperature 0.2, preservation constraints + - Web results analysis: temperature 0.0, conservative approach +- Test fixtures now use configurable host (TEST_HOST) instead of Docker hostnames + +### Removed + +- Dead code: unused `get_default_user()` function +- Unused imports from routers (wiki.py, graph.py, hybrid_rag.py) +- Stub endpoints shadowed by real implementations (/stats, /ingest/document, /ingest/batch) + ## [1.3.2] - 2025-12-22 ### Changed diff --git a/pyproject.toml b/pyproject.toml index 817c1c1..3f3d13b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "library-desk" -version = "1.3.2" +version = "1.3.3" description = "Coordination service for The Library system - HybridRAG queries, document ingestion, entity extraction, and knowledge consolidation" readme = "README.md" requires-python = ">=3.12"