Skip to content

v2.1.0 Streamlined API, Controlled React Component, ratings, query headers

Compare
Choose a tag to compare
@bacalj bacalj released this 06 Jun 18:28
· 99 commits to main since this release

This release
Features

  • sends custom headers with requests made to AI
  • presents a feedback button following AI responses

Breaking Changes

  • streamlines the react api surface and now includes open and onOpenChange props for use as a controlled component
  • removes support for instantiation as a web-component (<qa-bot >) and does not include auto creation based on html class or id. Instead, users of the standalone bot will instantiate with a simple JS call qaBot({params}). This is detailed in the README.md