vb
This commit is contained in:
parent
89e2a303e6
commit
62a436dd9d
6 changed files with 24 additions and 10 deletions
18
CHANGELOG.md
18
CHANGELOG.md
|
|
@ -1,6 +1,20 @@
|
|||
# Changelog
|
||||
## [Unreleased]
|
||||
|
||||
## [0.38.0] - 2026-04-07
|
||||
|
||||
### Added
|
||||
|
||||
- **Separate page storage**: Page images stored in dedicated `docling_pages` column — search/expand never loads page data
|
||||
- **zstd compression**: Switch from gzip to zstd for docling document storage (Python 3.14 stdlib, zstandard package for older versions)
|
||||
- **`Document.set_docling()`**: Helper method that handles split compression and version assignment, replacing 11 manual call sites
|
||||
- **`Document.get_page_images()`**: Load page images without the document structure, for visualize_chunk
|
||||
- **`DocumentRepository.get_pages_data()`**: Load only page data column for a document
|
||||
|
||||
### Changed
|
||||
|
||||
- **Database migration required**: Run `haiku-rag migrate` to split existing docling blobs into structure + pages and re-compress with zstd
|
||||
|
||||
## [0.37.0] - 2026-04-07
|
||||
|
||||
### Changed
|
||||
|
|
@ -16,7 +30,6 @@
|
|||
- **Chunk expansion performance**: Fetch only chunks in the needed order range during context expansion instead of all chunks for a document
|
||||
- **Embedding batching**: Batch embedding calls in groups of 512 to avoid request size limits and timeouts with large documents
|
||||
- **DoclingDocument validation**: Strip page images before validation on the read path — pages are only needed for visualize_chunk and account for ~99% of the JSON size
|
||||
- **Compression**: Switch from gzip to zstd for docling document storage (Python 3.14 stdlib, zstandard package for older versions)
|
||||
|
||||
## [0.36.3] - 2026-04-01
|
||||
|
||||
|
|
@ -1305,7 +1318,8 @@ Existing documents without DoclingDocument data will work but won't have provena
|
|||
|
||||
- Initial version tracking
|
||||
|
||||
[Unreleased]: https://github.com/ggozad/haiku.rag/compare/0.37.0...HEAD
|
||||
[Unreleased]: https://github.com/ggozad/haiku.rag/compare/0.38.0...HEAD
|
||||
[0.38.0]: https://github.com/ggozad/haiku.rag/compare/0.37.0...0.38.0
|
||||
[0.37.0]: https://github.com/ggozad/haiku.rag/compare/0.36.3...0.37.0
|
||||
[0.36.3]: https://github.com/ggozad/haiku.rag/compare/0.36.2...0.36.3
|
||||
[0.36.2]: https://github.com/ggozad/haiku.rag/compare/0.36.1...0.36.2
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ dependencies = [
|
|||
"uvicorn[standard]>=0.40.0",
|
||||
"pydantic-ai-slim[ag-ui,anthropic,openai]>=1.70.0",
|
||||
"python-dotenv>=1.2.1",
|
||||
"haiku.rag-slim>=0.37.0",
|
||||
"haiku.rag-slim>=0.38.0",
|
||||
"logfire[pydantic-ai]>=3.17.0",
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
name = "haiku.rag-evals"
|
||||
description = "Benchmarking and evaluation scripts for haiku.rag"
|
||||
version = "0.37.0"
|
||||
version = "0.38.0"
|
||||
authors = [{ name = "Yiorgis Gozadinos", email = "ggozadinos@gmail.com" }]
|
||||
license = { text = "MIT" }
|
||||
requires-python = ">=3.12"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
name = "haiku.rag-slim"
|
||||
description = "Opinionated agentic RAG powered by LanceDB, Pydantic AI, and Docling - Minimal dependencies"
|
||||
version = "0.37.0"
|
||||
version = "0.38.0"
|
||||
authors = [{ name = "Yiorgis Gozadinos", email = "ggozadinos@gmail.com" }]
|
||||
license = { text = "MIT" }
|
||||
readme = { file = "README.md", content-type = "text/markdown" }
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
name = "haiku.rag"
|
||||
description = "Opinionated agentic RAG powered by LanceDB, Pydantic AI, and Docling"
|
||||
version = "0.37.0"
|
||||
version = "0.38.0"
|
||||
authors = [{ name = "Yiorgis Gozadinos", email = "ggozadinos@gmail.com" }]
|
||||
license = { text = "MIT" }
|
||||
readme = { file = "README.md", content-type = "text/markdown" }
|
||||
|
|
@ -30,7 +30,7 @@ classifiers = [
|
|||
]
|
||||
|
||||
dependencies = [
|
||||
"haiku.rag-slim[docling,voyageai,mxbai,cohere,zeroentropy,tui]==0.37.0",
|
||||
"haiku.rag-slim[docling,voyageai,mxbai,cohere,zeroentropy,tui]==0.38.0",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
|
|
|
|||
6
uv.lock
6
uv.lock
|
|
@ -1418,7 +1418,7 @@ wheels = [
|
|||
|
||||
[[package]]
|
||||
name = "haiku-rag"
|
||||
version = "0.37.0"
|
||||
version = "0.38.0"
|
||||
source = { editable = "." }
|
||||
dependencies = [
|
||||
{ name = "haiku-rag-slim", extra = ["cohere", "docling", "mxbai", "tui", "voyageai", "zeroentropy"] },
|
||||
|
|
@ -1475,7 +1475,7 @@ dev = [
|
|||
|
||||
[[package]]
|
||||
name = "haiku-rag-evals"
|
||||
version = "0.37.0"
|
||||
version = "0.38.0"
|
||||
source = { editable = "evaluations" }
|
||||
dependencies = [
|
||||
{ name = "datasets" },
|
||||
|
|
@ -1500,7 +1500,7 @@ requires-dist = [
|
|||
|
||||
[[package]]
|
||||
name = "haiku-rag-slim"
|
||||
version = "0.37.0"
|
||||
version = "0.38.0"
|
||||
source = { editable = "haiku_rag_slim" }
|
||||
dependencies = [
|
||||
{ name = "cachetools" },
|
||||
|
|
|
|||
Loading…
Reference in a new issue