Skip to content

Releases: OvidijusParsiunas/deep-chat

1.4.1 - OpenAI assistants, vision, text to speech and function calling

12 Nov 20:06
Compare
Choose a tag to compare

The OpenAI DevDay 2023 conference introduced a variety of exciting new features into the AI ecosystem, all of which are now available in Deep Chat:

You can check all of these features in the Deep Chat's OpenAI documentation page or try them all out live in the Playground.

This release also saw the retirement of the OpenAI completions feature as it has now been moved to legacy status in the OpenAI documentation. The default character (token) limits for all OpenAI models have been removed as they vary by the model and are cumbersome to maintain, hence you will alternatively need to set them manually using the requestBodyLimits property.

1.4.0 - enhancing the submit button API and fixing bugs

05 Nov 22:53
Compare
Choose a tag to compare

The Deep Chat submit button has been upgraded with new features:

  • A new disabled button state has been added to disable the button when the current user input cannot be sent out to the target service or the websocket connection is not established.
  • You can disable this state to have the submit button always enabled by toggling the alwaysEnabled property to true.
  • You can now manually set the disabled state via the use of the disableSubmitButton method. This is particularly useful for cases where there are other factors outside of the chat that would need to stop the user from being able to send out messages.
  • The validateMessageBeforeSending interceptor has now been renamed to validateInput as it is now triggered when the user changes text or uploads/deletes files.
  • The overall submitButtonStyles method has been refactored to require less repetitive styling values to achieve the same output.

This bug also contains a few bug fixes where the chat width was increased when the user had inserted long words and the background color used to bleed out from the chat container when the inputAreaStyle background was set.

1.3.23 - ability to set message bubble line height

02 Nov 16:50
Compare
Choose a tag to compare

This release fixes an issue where the lineHeight in MessageElementStyles bubble property could previously not be set.

Additionally when using OpenAI or Cohere chat services via the directConnection property and there are files inside the initialMessages array, the file messages will be filtered out.

1.3.22 - adding a deep-chat-update-message html class

31 Oct 19:53
Compare
Choose a tag to compare

We have added a new "deep-chat-update-message" class to the Deep Chat Classes that allows the same ai message bubble to be updated by multiple server responses when using websockets. This allows for the creation of status messages for better UX.

This update also includes code refactoring where the conversion of function based properties is no longer done via eval (which is now deprecated), but using new Function() instead.

1.3.21 - bug fix for sending messages

26 Oct 16:20
Compare
Choose a tag to compare

Our previous release 1.3.19 introduced a minor bug which prevented JSON messages from being sent to a target custom service. This has now been fixed.

1.3.19 - send files and stream responses

25 Oct 22:38
Compare
Choose a tag to compare

This release contains a bug fix where users could previously not send a file and stream (using server sent events) the response message. This has now been fixed.

1.3.18 - inner message width refactoring

23 Oct 22:31
Compare
Choose a tag to compare

Inner message widths were previously set to 90% of the chat container width. This dimension did not scale well when the chat component was expanded for bigger screens. Hence it has now been changed to calc(97.5% - 24px) to scale much better.

This update also includes other code refactoring work.

1.3.17 - updating MessageContent format

18 Oct 15:53
Compare
Choose a tag to compare

Previously the MessageContent format allowed only one data type to be transferred and stored per message. This has now changed to allow multiple data types such as text and html in the same message.
The file property has also been changed to a files array. This is to allow multiple files to be stored within the same message and to be more consistent with the Response format.

1.3.16 - updating dependency versions

15 Oct 13:35
Compare
Choose a tag to compare

Updating all of the dependency package versions to the latest.

1.3.15 - bug fix for the new style property

14 Oct 16:23
Compare
Choose a tag to compare

This release contains a small bug fix for the new style property in the previous release where the chat did not have an overflow when there were too many messages inside the container.