Releases: vectara/react-chatbot
Releases · vectara/react-chatbot
3.0.1
3.0.0
What's changed
Migrated to Query API v2!
Breaking changes
corpusIds
are replaced with corpusKeys
Full Changelog: 2.0.0...3.0.0
Release 2.0.0
Breaking changes
useChat
now expects a configuration object instead of an arguments list.
Features
- Set the
enableFactualConsistencyScore={true}
prop to retrieve the Factual Consistency Score (FCS) and display the FCS as a badge below each chat response. - Set the
summaryPromptName="summaryPromptNameValue"
prop to define the summarizer and prompt to use to generate the chat response.
Release 1.2.1
FEATURES
- Adds support for example questions to be displayed when chat is empty
Release 1.1.1
FEATURES
- Adds support for response language in React-Chatbot component
- Adds support for response language in useChat hook.
Release 1.0.1
FIXES
- Removes dependency on axios for better compatibility with Create React App projects
- Upgrades @vectara/stream-query-client dependency to 1.0.0
Release 1.0.0
FEATURES
- Enables streaming in ReactChatbot component.
- Adds support for streaming queries in
useChat
hook
Release 0.0.6
FEATURES
- Adds a "Start new conversation" button to the chat messages window to reset the conversation context
useChat
hook now returns a startNewConversation function to reset chat context
Release 0.0.5
FEATURES
- adds request source to API request headers for better analytics
BUG FIXES
n/a
Release 0.0.4
FEATURES
n/a
BUG FIXES
- prevent external CSS from leaking into web component shadow host
- prevent sending empty chat messages
- fallback to stylesheets in browsers that don't support CSSStyleSheet constructor