Repository navigation
What's Changed
Fixed
- Comparative questions dropped one of the books they named. Asked what
Sun Tzu and Machiavelli say about deception, an agent built from both books
answered that The Prince says nothing on it. The names in the question pick
the books, but every retrieval route counted them as relevance, and in a
book the author is named only on the title page and in footnotes. Those
chunks took The Prince's slots, and its chapter on deceit and keeping faith
never reached the context. When a question's named entities point to two or
more works, each work is now guaranteed a share of the top-k. Chunks that
match only through an author's name are demoted. A name counts as the
author's when it is on the work's title page and in at most a tenth of the
work. A chunk that also matches the question's topic keeps its score, so a
contract party or a biography's subject is never demoted. Single-work
questions are unchanged. No rebuild needed.
Installation
Linux (amd64)
curl -L https://github.com/akashicode/kash/releases/download/v2.2.2/kash_linux_amd64.tar.gz | tar -xz
sudo mv kash /usr/local/bin/Linux (arm64)
curl -L https://github.com/akashicode/kash/releases/download/v2.2.2/kash_linux_arm64.tar.gz | tar -xz
sudo mv kash /usr/local/bin/macOS (Apple Silicon)
curl -L https://github.com/akashicode/kash/releases/download/v2.2.2/kash_darwin_arm64.tar.gz | tar -xz
sudo mv kash /usr/local/bin/macOS (Intel)
curl -L https://github.com/akashicode/kash/releases/download/v2.2.2/kash_darwin_amd64.tar.gz | tar -xz
sudo mv kash /usr/local/bin/Windows (amd64)
Download kash_windows_amd64.zip, extract, and add kash.exe to a directory on your PATH.
For full usage instructions, configuration options, and examples, see the README.