@2uinc/frontend-component-xpert-chatbot 1.26.0 → 1.26.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 +2 -2
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -922,8 +922,8 @@ const Vr = /* @__PURE__ */ tt(Zs), Ys = {
|
|
922
922
|
id: "edx",
|
923
923
|
chatApi: {
|
924
924
|
messagesKey: "messages",
|
925
|
-
endpoint: "https://xpert-platform-services-api.
|
926
|
-
baseUrl: "https://xpert-platform-services-api.
|
925
|
+
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/v2/message",
|
926
|
+
baseUrl: "https://xpert-platform-services-api.prod.ai.2u.com",
|
927
927
|
payloadParams: {
|
928
928
|
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.`,
|
929
929
|
client_id: "edx-explorer",
|