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: