@snf/access-qa-bot 3.3.2 → 3.3.3
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/access-qa-bot.js
CHANGED
|
@@ -15073,8 +15073,8 @@ const Gm = Ae.forwardRef((e, n) => {
|
|
|
15073
15073
|
Gm.displayName = "ProgrammaticQABot";
|
|
15074
15074
|
const ki = {
|
|
15075
15075
|
// Q&A API endpoints
|
|
15076
|
-
QA_ENDPOINT: "
|
|
15077
|
-
RATING_ENDPOINT: "
|
|
15076
|
+
QA_ENDPOINT: "http://localhost:8000/api/v1/query",
|
|
15077
|
+
RATING_ENDPOINT: "http://localhost:8000/api/v1/rating",
|
|
15078
15078
|
// Metrics/XDMoD API endpoints
|
|
15079
15079
|
METRICS_API_ENDPOINT: "https://access-ai-grace1-external.ccs.uky.edu/access/xdmod/chat/api/",
|
|
15080
15080
|
METRICS_RATING_ENDPOINT: "https://access-ai-grace1-external.ccs.uky.edu/access/xdmod/chat/rating/",
|
|
@@ -15116,7 +15116,8 @@ function Vm({ welcome: e, setTicketForm: n, isLoggedIn: a, trackEvent: i }) {
|
|
|
15116
15116
|
go_ahead_and_ask: {
|
|
15117
15117
|
message: `Go ahead and ask your question! I'll do my best to help.
|
|
15118
15118
|
|
|
15119
|
-
|
|
15119
|
+
<em>This assistant is powered by AI. Responses may not always be accurate. Do not share passwords or secrets.</em> <a href="https://support.access-ci.org/tools/access-qa-tool/privacy">Privacy Notice</a>`,
|
|
15120
|
+
renderHtml: ["BOT"],
|
|
15120
15121
|
path: "qa_loop"
|
|
15121
15122
|
}
|
|
15122
15123
|
};
|
|
@@ -16870,6 +16871,18 @@ const dd = "access-qa-bot-shadow-overrides", dv = `
|
|
|
16870
16871
|
color: white !important;
|
|
16871
16872
|
transform: translateY(0) !important;
|
|
16872
16873
|
}
|
|
16874
|
+
|
|
16875
|
+
.rcb-bot-message a,
|
|
16876
|
+
.rcb-chat-window .rcb-bot-message a:link,
|
|
16877
|
+
.rcb-chat-window .rcb-bot-message a:visited {
|
|
16878
|
+
color: #ffffff !important;
|
|
16879
|
+
text-decoration: underline !important;
|
|
16880
|
+
}
|
|
16881
|
+
|
|
16882
|
+
.rcb-bot-message a:hover {
|
|
16883
|
+
opacity: 0.85;
|
|
16884
|
+
text-decoration: underline !important;
|
|
16885
|
+
}
|
|
16873
16886
|
`;
|
|
16874
16887
|
function fv(e) {
|
|
16875
16888
|
if (!e) return;
|
|
@@ -16942,12 +16955,12 @@ const pv = Pn(
|
|
|
16942
16955
|
isLoggedIn: i,
|
|
16943
16956
|
trackEvent: j
|
|
16944
16957
|
}), ie = rv({
|
|
16945
|
-
ticketForm:
|
|
16958
|
+
ticketForm: {},
|
|
16946
16959
|
setTicketForm: H,
|
|
16947
16960
|
userInfo: z,
|
|
16948
16961
|
trackEvent: j
|
|
16949
16962
|
}), se = iv({
|
|
16950
|
-
ticketForm:
|
|
16963
|
+
ticketForm: {},
|
|
16951
16964
|
setTicketForm: H,
|
|
16952
16965
|
userInfo: z,
|
|
16953
16966
|
trackEvent: j
|
|
@@ -16962,7 +16975,7 @@ const pv = Pn(
|
|
|
16962
16975
|
...be
|
|
16963
16976
|
};
|
|
16964
16977
|
return Ym(he, { disableOnOptions: !0 });
|
|
16965
|
-
}, [Z,
|
|
16978
|
+
}, [Z, z, W, a, i, j]);
|
|
16966
16979
|
return /* @__PURE__ */ X("div", { ref: N, children: /* @__PURE__ */ X(
|
|
16967
16980
|
Zu,
|
|
16968
16981
|
{
|