Skip to content

v0.31.0

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Jun 10:21
· 429 commits to main since this release

PromptingTools v0.31.0

Diff since v0.30.0

Breaking Changes

  • The return type of RAGTools.find_tags(::NoTagger,...) is now ::Nothing instead of CandidateChunks/MultiCandidateChunks with all documents.
  • Base.getindex(::MultiIndex, ::MultiCandidateChunks) now always returns sorted chunks for consistency with the behavior of other getindex methods on *Chunks.

Updated

  • Cosine similarity search now uses partialsortperm for better performance on large datasets.
  • Skip unnecessary work when the tagging functionality in the RAG pipeline is disabled (find_tags with NoTagger always returns nothing which improves the compiled code).
  • Changed the default behavior of getindex(::MultiIndex, ::MultiCandidateChunks) to always return sorted chunks for consistency with other similar functions. Note that you should always use re-rankering anyway (see FlashRank.jl).

Commits

Merged pull requests:

  • Update RAG performance (Breaking changes) (#164) (@svilupp)