gci-chatbot-ai 1.0.27 → 1.0.28

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 CHANGED
@@ -16,13 +16,13 @@ yarn add gci-chatbot-ai
16
16
 
17
17
  ```vue
18
18
  <script setup lang="ts">
19
- import { ChatbotComponent } from 'gci-chatbot-ai';
19
+ import { ChatbotComponent } from 'gci-chatbot-ai'
20
20
  </script>
21
21
 
22
22
  <template>
23
- <div>
24
- <ChatbotComponent />
25
- </div>
23
+ <div>
24
+ <ChatbotComponent />
25
+ </div>
26
26
  </template>
27
27
  ```
28
28
 
@@ -32,32 +32,33 @@ You can customize the API endpoint, client ID, and token:
32
32
 
33
33
  ```vue
34
34
  <script setup lang="ts">
35
- import { ChatbotComponent } from 'gci-chatbot-ai';
35
+ import { ChatbotComponent } from 'gci-chatbot-ai'
36
36
  </script>
37
37
 
38
38
  <template>
39
- <div>
40
- <ChatbotComponent client-id="your-client-id" token="your-auth-token" endpoint="https://your-custom-api-endpoint.com/chat" />
41
- </div>
39
+ <div>
40
+ <ChatbotComponent client-id="your-client-id" token="your-auth-token" endpoint="https://your-custom-api-endpoint.com/chat" />
41
+ </div>
42
42
  </template>
43
43
  ```
44
44
 
45
45
  ### Required Parameters
46
46
 
47
47
  The `ChatbotComponent` component requires the following parameters:
48
+
48
49
  - `client-id`: Your client identification string
49
50
  - `endpoint`: The API endpoint URL for the chat service
50
51
  - `token`: Authentication token for the API
51
52
 
52
53
  ```vue
53
54
  <script setup lang="ts">
54
- import { ChatbotComponent } from 'gci-chatbot-ai';
55
+ import { ChatbotComponent } from 'gci-chatbot-ai'
55
56
  </script>
56
57
 
57
58
  <template>
58
- <div>
59
- <ChatbotComponent client-id="required-client-id" token="required-auth-token" endpoint="https://api.example.com/chat" />
60
- </div>
59
+ <div>
60
+ <ChatbotComponent client-id="required-client-id" token="required-auth-token" endpoint="https://api.example.com/chat" />
61
+ </div>
61
62
  </template>
62
63
  ```
63
64
 
@@ -91,6 +92,7 @@ npm run build
91
92
  ## Configuration
92
93
 
93
94
  The component uses the following dependencies:
95
+
94
96
  - Vue 3
95
97
  - @ai-sdk/vue
96
98
  - ai (for AI transport)