@2uinc/frontend-component-xpert-chatbot 1.35.0 → 1.35.1
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/dist/lib/index.min.js +8 -8
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -721,7 +721,7 @@ var I0 = O0();
|
|
721
721
|
const xs = /* @__PURE__ */ kt(I0), N0 = {
|
722
722
|
id: "degrees-canvas-support",
|
723
723
|
chatApi: {
|
724
|
-
endpoint: "https://xpert-
|
724
|
+
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/omnichannel",
|
725
725
|
messagesKey: "message_list",
|
726
726
|
payloadParams: {
|
727
727
|
use_case: "Canvas_Student",
|
@@ -837,7 +837,7 @@ const xs = /* @__PURE__ */ kt(I0), N0 = {
|
|
837
837
|
}, k0 = {
|
838
838
|
id: "degrees-moodle-support",
|
839
839
|
chatApi: {
|
840
|
-
endpoint: "https://xpert-
|
840
|
+
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/omnichannel",
|
841
841
|
messagesKey: "message_list",
|
842
842
|
payloadParams: {
|
843
843
|
use_case: "Moodle_Student",
|
@@ -928,8 +928,8 @@ const xs = /* @__PURE__ */ kt(I0), N0 = {
|
|
928
928
|
id: "edx",
|
929
929
|
chatApi: {
|
930
930
|
messagesKey: "messages",
|
931
|
-
endpoint: "https://xpert-
|
932
|
-
baseUrl: "https://xpert-
|
931
|
+
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/v2/message",
|
932
|
+
baseUrl: "https://xpert-platform-services-api.prod.ai.2u.com",
|
933
933
|
payloadParams: {
|
934
934
|
system_message: `Your name is Xpert, and you are dedicated to assisting users in discovering relevant online education product offerings from edX. Your primary goal is to recommend products available at [edX.org](https://www.edx.org) using the information provided. It is essential to use markdown format for links, lists, tables, headings, and all other display elements. If a user inquires about refunds, include this message: "Our [Refund Policy](https://www.edx.org/edx-terms-service#refund-policy) is included in the edX Terms of Service. [Contact Us](https://courses.edx.org/support/contact_us) for additional questions or assistance." In cases where you provide instructions to contact edX support, add this message: "You can contact support through our [Help Center](https://support.edx.org/hc/en-us) or [Contact Us](https://courses.edx.org/support/contact_us) links here or on any edX.org page." You are limited to providing information that you have at hand. If users ask about pricing, direct them to the respective course or program URL provided in the document. If a user mentions any vendors not associated with edX, redirect the conversation to edX product offerings. Should a user mention a specific partner, respond only with data entry items having that value in the 'title' attribute or the 'partner' attribute. When a user inquires about a course or program without specifying which it is, ask for clarification regarding the course or program they are referencing.`,
|
935
935
|
client_id: "edx-explorer",
|
@@ -1041,7 +1041,7 @@ const xs = /* @__PURE__ */ kt(I0), N0 = {
|
|
1041
1041
|
}, R0 = {
|
1042
1042
|
id: "edx-global-support",
|
1043
1043
|
chatApi: {
|
1044
|
-
endpoint: "https://xpert-
|
1044
|
+
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/omnichannel",
|
1045
1045
|
messagesKey: "message_list",
|
1046
1046
|
payloadParams: {
|
1047
1047
|
use_case: ["edX_Learner_Support"]
|
@@ -1135,7 +1135,7 @@ const xs = /* @__PURE__ */ kt(I0), N0 = {
|
|
1135
1135
|
}, D0 = {
|
1136
1136
|
id: "exec-ed-ss-olc-moodle",
|
1137
1137
|
chatApi: {
|
1138
|
-
endpoint: "https://xpert-
|
1138
|
+
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/omnichannel",
|
1139
1139
|
messagesKey: "message_list",
|
1140
1140
|
payloadParams: {
|
1141
1141
|
use_case: "LOG_OUT"
|
@@ -1235,7 +1235,7 @@ const xs = /* @__PURE__ */ kt(I0), N0 = {
|
|
1235
1235
|
}, w0 = {
|
1236
1236
|
id: "get-smarter",
|
1237
1237
|
chatApi: {
|
1238
|
-
endpoint: "https://xpert-
|
1238
|
+
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/omnichannel",
|
1239
1239
|
messagesKey: "message_list",
|
1240
1240
|
payloadParams: {
|
1241
1241
|
use_case: "GET_SMARTER",
|
@@ -1325,7 +1325,7 @@ const xs = /* @__PURE__ */ kt(I0), N0 = {
|
|
1325
1325
|
}, P0 = {
|
1326
1326
|
id: "speech-emerson",
|
1327
1327
|
chatApi: {
|
1328
|
-
endpoint: "https://xpert-
|
1328
|
+
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/v2/message",
|
1329
1329
|
messagesKey: "messages",
|
1330
1330
|
payloadParams: {
|
1331
1331
|
client_id: "generic",
|