Releases: svilupp/PromptingTools.jl
Releases · svilupp/PromptingTools.jl
v0.37.1
v0.37.0
PromptingTools v0.37.0
Updated
- Increase compat bound for FlashRank to 0.4
Commits
Merged pull requests:
v0.36.0
PromptingTools v0.36.0
Added
- Added a prompt template for RAG query expansion for BM25 (
RAGQueryKeywordExpander
)
Fixed
- Fixed a small bug in the truncation step of the RankGPT's
permutation_step!
(bad indexing of string characters). - Fixed a bug where a certain combination of
rank_start
andrank_end
would not result the last sliding window. - Fixed a bug where partially filled
RAGResult
would fail pretty-printing withpprint
Commits
Merged pull requests:
v0.35.0
PromptingTools v0.35.0
Added
- Added a utility function to RAGTools
reciprocal_rank_fusion
, as a principled way to merge multiple rankings. See?RAGTools.Experimental.reciprocal_rank_fusion
for more information.
Commits
Merged pull requests:
v0.34.0
PromptingTools v0.34.0
Added
RankGPT
implementation for RAGTools chunk re-ranking pipeline. See?RAGTools.Experimental.rank_gpt
for more information and corresponding reranker type?RankGPTReranker
.
Commits
Merged pull requests:
v0.33.2
PromptingTools v0.33.2
Fixed
- Add back accidentally dropped DBKS keys
Commits
Merged pull requests:
v0.33.1
PromptingTools v0.33.1
Fixed
- Fixed loading RAGResult when one of the candidate fields was
nothing
. - Utility type checks like
isusermessage
,issystemmessage
,isdatamessage
,isaimessage
,istracermessage
do not throw errors when given any arbitrary input types (previously they only worked forAbstractMessage
types). It's aisa
check, so it should work for all input types. - Changed preference loading to use typed
global
instead ofconst
, to fix issues with API keys not being loaded properly on start. You can now also callPromptingTools.load_api_keys!()
to re-load the API keys (and ENV variables) manually.
Commits
Merged pull requests:
v0.33.0
PromptingTools v0.33.0
Added
- Added registry record for Anthropic Claude 3.5 Sonnet with ID
claude-3-5-sonnet-20240620
(read the blog post). Aliases "claude" and "claudes" have been linked to this latest Sonnet model.
Commits
Merged pull requests:
v0.32.0
PromptingTools v0.32.0
Updated
- Changed behavior of
RAGTools.rerank(::FlashRanker,...)
to always dedupe input chunks (to reduce compute requirements).
Fixed
- Fixed a bug in verbose INFO log in
RAGTools.rerank(::FlashRanker,...)
.
Commits
Merged pull requests:
v0.31.1
PromptingTools v0.31.1
Updated
- Improved the implementation of
RAGTools.unpack_bits
to be faster with fewer allocations.
Commits
Merged pull requests: