Skip to content

Releases: zhudotexe/kani

v0.0.3

04 Aug 17:23
Compare
Choose a tag to compare
v0.0.3 Pre-release
Pre-release

BREAKING CHANGES

  • Renamed Kani.get_truncated_chat_history to Kani.get_prompt

Additions & Improvements

  • Added CTransformersEngine and LlamaCTransformersEngine (thanks @Maknee!)
  • Added a lower-level Kani.get_model_completion to make a prediction at the current chat state (without modifying the chat history)
  • Added the auto_truncate param to @ai_function to opt in to kani trimming long responses from a function (i.e., responses that do not fit in a model's context)
  • Improved the internal handling of tokens when the chat history is directly modified
  • ChatMessage.[role]() classmethods now pass kwargs to the constructor
  • LLaMA: Improved the fidelity of non-strict-mode LLaMA prompting
  • OpenAI: Added support for specifying an OpenAI organization and configuring retry
  • Many documentation improvements

Fixes

  • OpenAI message length could return too short on messages with no content
  • Other minor fixes and improvements

v0.0.2

20 Jul 03:33
Compare
Choose a tag to compare
v0.0.2 Pre-release
Pre-release
  • Add chat_in_terminal_async for async environments (e.g. Google Colab)
  • Add quickstart Colab notebook

v0.0.1

20 Jul 01:58
Compare
Choose a tag to compare
v0.0.1 Pre-release
Pre-release

Initial release!