Chainlit

Latest version: v1.3.2

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 12

0.7.500

Not secure
Added

- `cl.on_chat_resume` decorator to enable users to continue a conversation.
- Support for OpenAI functions in the Prompt Playground
- Ability to add/remove messages in the Prompt Playground
- Plotly element to display interactive charts

Fixed

- Langchain intermediate steps display are now much more readable
- Chat history loading latency has been enhanced
- UTF-8 characters are now correctly displayed in json code blocks
- Select widget `items` attribute is now working properly
- Chat profiles widget is no longer scrolling horizontally

0.7.400

Not secure
Added

- Support for Langchain Expression Language. https://docs.chainlit.io/integrations/langchain
- UI rendering optimization to guarantee high framerate
- Chainlit Cloud latency optimization
- Speech recognition to type messages. https://docs.chainlit.io/backend/config/features
- Descope OAuth provider

Changed

- `LangchainCallbackHandler` is now displaying inputs and outputs of intermediate steps.

Fixed

- AskUserMessage now work properly with data persistence
- You can now use a custom okta authorization server for authentication

0.7.3

Not secure
Added

- `ChatProfile` allows to configure different agents that the user can freely chose
- Multi modal support at the input bar level. Enabled by `features.multi_modal` in the config
- `cl.AskUserAction` allows to block code execution until the user clicked an action.
- Displaying readme when chat is empty is now configurable through `ui.show_readme_as_default` in the config

Changed

- `cl.on_message` is no longer taking a string as parameter but rather a `cl.Message`

Fixed

- Chat history is now correctly displayed on mobile
- Azure AD OAuth authentication should now correctly display the user profile picture

Removed

- `cl.on_file_upload` is replaced by true multi modal support at the input bar level

0.7.2

Not secure
Added

- Logo is displayed in the UI header (works with custom logo)
- Azure AD single tenant is now supported
- `collapsed` attribute on the `Action` class
- Latency improvements when data persistence is enabled

Changed

- Chat history has been entirely reworked
- Chat messages redesign
- `config.ui.base_url` becomes `CHAINLIT_URL` env variable

Fixed

- File watcher (-w) is now working with nested module imports
- Unsupported character during OAuth authentication

0.7.1

Not secure
Added

- Pydantic v2 support
- Okta auth provider
- Auth0 auth provider
- Prompt playground support for mix of template/formatted prompts
- `cl.on_chat_end` decorator
- Textual comments to user feedback

Fixed

- Langchain errors are now correctly indented
- Langchain nested chains prompts are now correctly displayed
- Langchain error TypeError: 'NoneType' object is not a mapping.
- Actions are now displayed on mobile
- Custom logo is now working as intended

0.7.0

Not secure
Changed

- Authentication is now unopinionated:
1. `cl.password_auth_callback` for login/password auth
2. `cl.oauth_callback` for oAuth auth
3. `cl.header_auth_callback` for header auth
- Data persistence is now enabled through `CHAINLIT_API_KEY` env variable

Removed

- `cl.auth_client_factory` (see new authentication)
- `cl.db_client_factory` (see new data persistence)

Added

- `disable_human_feedback` parameter on `cl.Message`
- Configurable logo
- Configurable favicon
- Custom CSS injection
- GCP Vertex AI LLM provider
- Long message collpasing feature flag
- Enable Prompt Playground feature flag

Fixed

- History page filters now work properly
- History page does not show empty conversations anymore
- Langchain callback handler Message errors

Page 8 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.