Skip to content

v0.33.1

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Jun 09:45
· 429 commits to main since this release

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)