@carbon/ai-chat 0.3.0-0 → 0.3.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 +8 -3
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -8,6 +8,14 @@
|
|
|
8
8
|
>
|
|
9
9
|
> Don't let that stop you from using it in production, it is currently being used in production in watsonx Assistant and Orchestrate, just be sure to lock to an exact version as this project won't follow semantic versioning for breaking changes until the `1.0.0` release.
|
|
10
10
|
|
|
11
|
+
## <picture><source height="20" width="20" media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-dark.svg"><source height="20" width="20" media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg"><img height="20" width="20" alt="IBM Telemetry" src="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg"></picture> IBM Telemetry
|
|
12
|
+
|
|
13
|
+
This package uses IBM Telemetry to collect de-identified and anonymized metrics data. By installing
|
|
14
|
+
this package as a dependency you are agreeing to telemetry collection. To opt out, see
|
|
15
|
+
[Opting out of IBM Telemetry data collection](https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection).
|
|
16
|
+
For more information on the data being collected, please see the
|
|
17
|
+
[IBM Telemetry documentation](https://github.com/ibm-telemetry/telemetry-js/tree/main#ibm-telemetry-collection-basics).
|
|
18
|
+
|
|
11
19
|
## Getting started
|
|
12
20
|
|
|
13
21
|
```bash
|
|
@@ -29,6 +37,3 @@ This will install the package that contains both the web component and React ver
|
|
|
29
37
|
- [See examples in React](https://github.com/carbon-design-system/carbon-ai-chat/tree/main/examples/react).
|
|
30
38
|
- [See examples as a web component](https://github.com/carbon-design-system/carbon-ai-chat/tree/main/examples/web-components).
|
|
31
39
|
|
|
32
|
-
## Contributing
|
|
33
|
-
|
|
34
|
-
Coming soon. This project will be inner-sourced for IBMers.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/ai-chat",
|
|
3
|
-
"version": "0.3.0
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Be sure to review the [chat documentation](https://web-chat.global.assistant.watson.cloud.ibm.com/carbon-chat.html).",
|
|
5
5
|
"author": "IBM Corp",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
"tslib": "^2.6.3"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
+
"@ibm/telemetry-js": "^1.9.1",
|
|
78
79
|
"@lit/react": "^1.0.6",
|
|
79
80
|
"@microsoft/fetch-event-source": "^2.0.1",
|
|
80
81
|
"@nice-devone/nice-cxone-chat-web-sdk": "^1.18.0",
|
|
@@ -119,6 +120,7 @@
|
|
|
119
120
|
"build:chat": "rollup -c ../../build/rollup.aichat.js",
|
|
120
121
|
"build:profile": "profile=true rollup -c ../../build/rollup.aichat.js",
|
|
121
122
|
"clean": "mkdirp dist && rimraf dist/* && mkdirp ./src/build && rimraf ./src/build/*",
|
|
123
|
+
"postinstall": "ibmtelemetry --config=telemetry.yml",
|
|
122
124
|
"release": "commit-and-tag-version -t @carbon/ai-chat@",
|
|
123
125
|
"release:patch": "npm run release -- --release-as patch",
|
|
124
126
|
"release:minor": "npm run release -- --release-as minor",
|