Skip to content

Releases: svilupp/PromptingTools.jl

v0.37.1

09 Jul 20:39
5f96db8
Compare
Choose a tag to compare

PromptingTools v0.37.1

Diff since v0.37.0

Fixed

  • Fixed a bug in CohereReranker when it wouldn't handle correctly CandidateChunks index_ids.

Commits

Merged pull requests:

v0.37.0

07 Jul 19:59
b16dd25
Compare
Choose a tag to compare

PromptingTools v0.37.0

Diff since v0.36.0

Updated

  • Increase compat bound for FlashRank to 0.4

Commits

Merged pull requests:

v0.36.0

02 Jul 20:18
719bf69
Compare
Choose a tag to compare

PromptingTools v0.36.0

Diff since v0.35.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 and rank_end would not result the last sliding window.
  • Fixed a bug where partially filled RAGResult would fail pretty-printing with pprint

Commits

Merged pull requests:

  • Update rankGPT implementation + add a template (#174) (@svilupp)

v0.35.0

01 Jul 10:22
7212fa6
Compare
Choose a tag to compare

PromptingTools v0.35.0

Diff since v0.34.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

01 Jul 09:59
751f337
Compare
Choose a tag to compare

PromptingTools v0.34.0

Diff since v0.33.2

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

26 Jun 12:03
b6d10f5
Compare
Choose a tag to compare

PromptingTools v0.33.2

Diff since v0.33.1

Fixed

  • Add back accidentally dropped DBKS keys

Commits

Merged pull requests:

v0.33.1

26 Jun 09:45
4fa4f5d
Compare
Choose a tag to compare

PromptingTools v0.33.1

Diff since v0.33.0

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 for AbstractMessage types). It's a isa check, so it should work for all input types.
  • Changed preference loading to use typed global instead of const, to fix issues with API keys not being loaded properly on start. You can now also call PromptingTools.load_api_keys!() to re-load the API keys (and ENV variables) manually.

Commits

Merged pull requests:

  • Rag Tools fix + relaxing const for API key loading (#170) (@svilupp)

v0.33.0

20 Jun 19:15
da4089f
Compare
Choose a tag to compare

PromptingTools v0.33.0

Diff since v0.32.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

18 Jun 13:28
f48c5af
Compare
Choose a tag to compare

PromptingTools v0.32.0

Diff since v0.31.1

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:

  • Update FlashRank to use only unique documents (#166) (@svilupp)

v0.31.1

18 Jun 12:27
4c6a4d0
Compare
Choose a tag to compare

PromptingTools v0.31.1

Diff since v0.31.0

Updated

  • Improved the implementation of RAGTools.unpack_bits to be faster with fewer allocations.

Commits

Merged pull requests: