@ibti-tech/chatbot 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -0
- package/dist/index.d.ts +704 -0
- package/dist/index.mjs +1101 -0
- package/package.json +71 -0
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# IBTI Chatbot
|
|
2
|
+
|
|
3
|
+
IBTI Chatbot is an assistent designed to provide intelligent responses and assist users effectively according to ibti available data from website and blog.
|
|
4
|
+
|
|
5
|
+
## How to use on your project
|
|
6
|
+
|
|
7
|
+
1. Install using yarn or npm
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
yarn add @ibti-tech/chatbot | npm install @ibti-tech/chatbot
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
2. Import Chatbot component into your react application and use it as a component
|
|
14
|
+
|
|
15
|
+
```jsx
|
|
16
|
+
import { Chatbot } from '@ibti-tech/chatbot'
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
3. Use the component
|
|
20
|
+
|
|
21
|
+
```jsx
|
|
22
|
+
// {...}
|
|
23
|
+
const MyFunctionalComponent = () => {
|
|
24
|
+
return (
|
|
25
|
+
<div>
|
|
26
|
+
<ChatbotProvider
|
|
27
|
+
locale="pt-BR"
|
|
28
|
+
apiURL="http://localhost:6061"
|
|
29
|
+
theme="dark"
|
|
30
|
+
>
|
|
31
|
+
<ChatbotBar />
|
|
32
|
+
</ChatbotProvider>
|
|
33
|
+
</div>
|
|
34
|
+
)
|
|
35
|
+
}
|
|
36
|
+
```
|