You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,11 +52,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
52
52
*`ui.panel_well()` was deprecated in favor of `ui.card()`. (#2038)
53
53
54
54
* Numerous `ui.Chat()` features have been deprecated in preparation for future removal to simplify the API (#2050)
55
-
*`Chat(messages=)` was deprecated. Use `chat.ui(messages=)` instead.
56
-
*`Chat(tokenizer=)` was deprecated. This was only relevant for `.messages(token_limits=[])` which is also now deprecated.
55
+
*`Chat(messages=...)` was deprecated. Use `chat.ui(messages=...)` instead.
56
+
*`Chat(tokenizer=...)` was deprecated. This is only relevant for `.messages(token_limits=...)` which is also now deprecated.
57
57
* All parameters to `.messages()` were deprecated. This reflects an overall change philosophy for maintaining the conversation history sent to the LLM -- `Chat` should no longer be responsible for maintaining it -- another stateful object (perhaps the one provided by chatlas, LangChain, etc.) should be used instead. That said, `.messages()` is still useful if you want to access UI message state.
58
-
* The `.transform_user_input` and `.transform_assistant_response` decorators were deprecated. Instead, transformations should be done manually.
59
-
* As a result of the previous deprecations, the `transform` parameter in the `.user_input()` method was also deprecated.
58
+
* The `.transform_user_input` and `.transform_assistant_response` decorators were deprecated. Instead, transformation of input/responses should be done manually and independently of `Chat`.
59
+
* As a result of the previous deprecations, `.user_input(transform=...)` was also deprecated.
0 commit comments