Skip to content

v0.0.29

Compare
Choose a tag to compare
@pkelaita pkelaita released this 05 Aug 04:52
· 15 commits to main since this release
7078afd

0.0.29 - August 4, 2024

Caution

This release has breaking changes! Please read the changelog carefully.

Added

  • alt_memory and bypass_memory have been added as parameters to call and call_custom in LLMClient and AsyncLLMClient. These parameters allow you to specify alternative memory streams to use for the call, or to bypass memory entirely.

Changed

  • Previously, the LLMClient and AsyncLLMClient constructors took memory_type, memory_window_size, and memory_loading_type as arguments. Now, it just takes memory as an argument, while window_size and loading_type can be set on the memory object itself. These changes make the memory API far more consistent and easy to use, especially with the additions of alt_memory and bypass_memory.

Removed

  • The MemoryType enum has been removed. This is a breaking change!!! Instances of client = LLMClient(memory_type=MemoryType.CHAT) should be replaced with client = LLMClient(memory=ChatMemory()), and so on.