Skip to content

Commit 77482e8

Browse files
voorhsclaude
andcommitted
docs(changelog): note SQLite embedding cache and AUTOINTENT_CACHE_DIR
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 9169c3d commit 77482e8

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
All notable changes to this project are documented in this file. Release notes are grouped by theme rather than listing every commit.
44

5+
## [Unreleased]
6+
7+
### Features
8+
9+
- **Embedding cache rewritten on SQLite with per-utterance keys.** Embeddings are now cached one row per `(model, utterance, prompt)` in a single SQLite database (`<cache_dir>/embeddings.db`) instead of one `.npy` file per call. Utterances shared across calls are embedded and stored once, so overlapping calls reuse the overlap — removing the old whole-list-or-nothing cache misses and the unbounded `.npy` inode growth. Writes are atomic and safe for concurrent processes/threads on one host (WAL).
10+
- **`AUTOINTENT_CACHE_DIR`** environment variable to relocate the on-disk cache (defaults to the OS cache dir). It currently governs the embedding cache only; the structured-output cache is unchanged.
11+
12+
### Notes
13+
14+
- The new cache uses a different key scheme, so existing `.npy` embedding caches are not reused (a one-time recompute on first run). The old `embeddings/` directory is left untouched and may be deleted manually.
15+
16+
---
17+
518
## [0.3.2] — 2026-06-22
619

720
Compared to [0.3.1](https://github.com/deeppavlov/AutoIntent/releases/tag/v0.3.1). A maintenance release focused on caching correctness and CI/test coverage. No breaking changes.

0 commit comments

Comments
 (0)