v0.31.0
PromptingTools v0.31.0
Breaking Changes
- The return type of
RAGTools.find_tags(::NoTagger,...)
is now::Nothing
instead ofCandidateChunks
/MultiCandidateChunks
with all documents. Base.getindex(::MultiIndex, ::MultiCandidateChunks)
now always returns sorted chunks for consistency with the behavior of othergetindex
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
withNoTagger
always returnsnothing
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 (seeFlashRank.jl
).
Commits
Merged pull requests: