Design your own assistant chat
Restyle the Rekhu Assistant widget completely, or build a chat screen of your own on its headless client. Quick questions and your project's knowledge come from you.
Rekhu Assistant carries the conversation between your app, your users and the model. How the chat looks and how the assistant behaves are yours to decide, and from today you have the means for both.
- Restyle the widget completely. Colours, font, size and corners are CSS variables (
--c,--rekhu-bg,--rekhu-width, …), and every piece is a part you can style from your own CSS:::part(panel),::part(message user),::part(quick-button). A full-height side panel is three lines of CSS. - Or build your own chat screen.
createClient()is the connection without the widget: the history, the streamed answer, confirming an action, starting over. You draw it in Vue, React or Nuxt, in your own design system, with the same sign-in. - Your quick questions. List the questions your users can click in a fresh chat, in each language you need. A question that needs an action is only offered to users who may use it.
- Actions from the config. Routes whose controller you do not want to touch become actions from
config/rekhu-assistant.php, and routes you never want offered are blocked there by name or pattern. - Behaviour from your project. The knowledge you write in the project in your Rekhu account now reaches the assistant on every call: its tone, what it knows about your app and your users, when it hands over to a person.
Versions: @rekhu/assistant-widget 0.2.0, rekhu/assistant-laravel 0.5.0 and @rekhu/assistant-node 0.3.0.