deep-chat

Fully customizable AI chatbot component for your website

MIT License

Downloads
93.7K
Stars
1.4K
Committers
5

Bot releases are hidden (Show)

deep-chat - 1.3.14 - changing containerStyle property to style

Published by OvidijusParsiunas about 1 year ago

When developers start using Deep Chat and want to attempt to change its style, they would usually first try to use the style property. In the previous versions this did not do anything and they would then have to search for specific properties for what they want to change. To make the lives of new and old developers easier, we have moved the containerStyle property to style to create a simpler style changing experience.

deep-chat - 1.3.12 - intro panel styling and functionality

Published by OvidijusParsiunas about 1 year ago

The intro panel's styling and JavaScript can now be controlled via the htmlClassUtilities property. This opens up opportunities to reuse consistent styling and give JavaScript access to the parent state.

deep-chat - 1.3.11 - Messages now support custom elements

Published by OvidijusParsiunas about 1 year ago

  • You can now render your own custom elements inside messages using the new messages HTML API.
  • You can force the chat to scroll down using the new scrollToBottom method.
  • The introMessage property now requires its value to be defined using a JSON in order to denote the use of text vs custom elements.
  • The messageStyles property now contains a html key to allow your custom elements to be styled the way you need them.
  • This update also contains other small bug fixes.
deep-chat - 1.3.10 - Demo property is now on the parent level

Published by OvidijusParsiunas about 1 year ago

Demo property has been moved from the directConnection object to the parent level. This was done for both; making it easier for the user to configure the demo and more importantly in preparation for adding more connection properties into the component where having demo makes more sense in the parent level.

deep-chat - 1.3.9 - Defaulting to demo mode when no connection properties set

Published by OvidijusParsiunas about 1 year ago

When no connection properties/attributes (request or directConnection) are set or they use incorrect values, the component defaults to the demo mode which additionally now guides developers how to set it up correctly.

deep-chat - Releasing the Playground Page

Published by OvidijusParsiunas about 1 year ago

We are excited to release a new addition to the Deep Chat website - the Playground. Here you will be able to create, configure and use Deep Chat components without needing to write any code. Check it out in the official Playground page to get started!

deep-chat - 1.3.8 - OpenAI and Cohere direction connection interface updates

Published by OvidijusParsiunas about 1 year ago

The OpenAI and Cohere interfaces have been updated to reflect the latest changes in their API. The OpenAI chat interface also has the systemPrompt changed to system_prompt to keep the syntax consistent with the rest of the interface.
This updates also includes bug fixes where the passed in configuration object for existing services had their properties removed as part of a cleanup process, hence those properties could not be reused when using the object in another component. This has now been fixed.

deep-chat - 1.3.6 - StabilityAI intro panel updates

Published by OvidijusParsiunas about 1 year ago

Updating the syntax or StabilityAI intro panel text.

deep-chat - 1.3.4 - fixes for streaming and clearMessages method

Published by OvidijusParsiunas about 1 year ago

Previously when text was streamed and the component either had avatars or names - the consecutive streams would include the previously streamed text. Additionally the clearMessages method was not clearing error messages.

These bugs are now fixed.

deep-chat - 1.3.3 - intercepted message bug fix

Published by OvidijusParsiunas about 1 year ago

If you had the requestBodyLimits property set to 0 or below and were changing the messages array in the requestInterceptor or handler functions, you may have been affecting the state inside the Deep Chat component. This has now been fixed as the messages array is dereferenced before it leaves the component.

deep-chat - 1.3.2 - handler function

Published by OvidijusParsiunas about 1 year ago

Adding a new request handler function into the component which is used to override the connection behaviour and allow developers to use their own code for making requests.

deep-chat - 1.3.1 - clearMessages() method bug fix

Published by OvidijusParsiunas about 1 year ago

The clearMessages method was not fully clearing the internal state so when the user would call getMessages they would still get the messages before the clear. This bug is now fixed.

deep-chat - 1.3.0 - Changing custom service response type to Response

Published by OvidijusParsiunas about 1 year ago

  • The expected response object from a custom service has been changed to Response in order to simplify the required setup.
  • This release also contains a minor websocket fix where the reconnection logic no longer attempts to connect if the component is no longer present.
deep-chat - 1.2.5 - Websocket reconnect functionality

Published by OvidijusParsiunas about 1 year ago

If a websocket connection fails, the component will reattempt to connect every 5 seconds.

deep-chat - 1.2.3 - onClearMessages event and websocket fixes

Published by OvidijusParsiunas about 1 year ago

We have replaced the old onMessagesCleared event with onClearMessages to better reflect when it is triggered and keep the syntax similar to the clearMessages method.

Additionally, when the websocket url did not start with "ws:" the component would throw an error that was not caught. This is now fixed.

deep-chat - 1.2.2 - clearMessages() method

Published by OvidijusParsiunas about 1 year ago

Adding a new method called clearMessages to remove all messages in the chat. This is also accompanied by a onMessagesCleared event to help track chat state.

deep-chat - 1.2.0 - Svelte property value recognition

Published by OvidijusParsiunas about 1 year ago

When using Svelte to develop a browser app - property values no longer need to be stringified.

deep-chat - 1.1.23 - requestInterceptor asynchronous processing

Published by OvidijusParsiunas about 1 year ago

The requestInterceptor now supports asynchronous functions to do other processing before the actual request is sent out to the target.

deep-chat - 1.1.21 - Compatibility with ES5/ES2015

Published by OvidijusParsiunas about 1 year ago

Deep Chat is now compatible with build tools/browsers that use JavaScript ES5/2015 syntax.

deep-chat - 1.1.20 - post initial release features

Published by OvidijusParsiunas about 1 year ago

Features:

  • Websockets
  • Speech To Text performance optimiziations
  • Configure the input style on focus
  • Custom demo response message
  • Improving error handling
  • Stream server-sent events and regular message responses
  • Bug fixes
Package Rankings
Top 5.46% on Npmjs.org