v0.0.29
0.0.29 - August 4, 2024
Caution
This release has breaking changes! Please read the changelog carefully.
Added
alt_memory
andbypass_memory
have been added as parameters tocall
andcall_custom
inLLMClient
andAsyncLLMClient
. These parameters allow you to specify alternative memory streams to use for the call, or to bypass memory entirely.
Changed
- Previously, the
LLMClient
andAsyncLLMClient
constructors tookmemory_type
,memory_window_size
, andmemory_loading_type
as arguments. Now, it just takesmemory
as an argument, whilewindow_size
andloading_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 ofalt_memory
andbypass_memory
.
Removed
- The
MemoryType
enum has been removed. This is a breaking change!!! Instances ofclient = LLMClient(memory_type=MemoryType.CHAT)
should be replaced withclient = LLMClient(memory=ChatMemory())
, and so on.