laika-ti-chatgpt-react
v0.1.15
Published
component ui reactjs virtual assistant Laika
Downloads
228
Maintainers
Readme
Dependencies
| | | ------ | | React Js | | Material UI | | Socket IO | | swiper | | moment | | classnames |
Installation
$ npm install laika-ti-chatgpt-react
or
$ yarn add laika-ti-chatgpt-react
Usage
Add LaikaChatGPT
to your component:
import React from 'react'
import ReactDOM from 'react-dom/client'
import { LaikaChatGPT } from 'laika-ti-chatgpt-react'
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
<React.StrictMode>
<LaikaChatGPT
host=""
user={{
id: 0,
userId: 0,
avatar: '',
email: '',
fullname: '',
tokenAuth: '',
socketId: '',
}}
/>
</React.StrictMode>,
)
License
Laika is MIT licensed.
Author - Daniel Villanueva