Skip to content

v0.41.0

Compare
Choose a tag to compare
@github-actions github-actions released this 22 Jul 20:50
· 429 commits to main since this release

PromptingTools v0.41.0

Diff since v0.40.0

Added

  • Introduced a "view" of DocumentTermMatrix (=SubDocumentTermMatrix) to allow views of Keyword-based indices (ChunkKeywordsIndex). It's not a pure view (TF matrix is materialized to prevent performance degradation).

Fixed

  • Fixed a bug in find_closest(finder::BM25Similarity, ...) where the view of DocumentTermMatrix (ie, view(DocumentTermMatrix(...), ...)) was undefined.
  • Fixed a bug where a view of a view of a ChunkIndex wouldn't intersect the positions (it was returning only the latest requested positions).

Commits

Merged pull requests: