@box/box-ai-content-answers 0.151.0 → 0.153.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.
Files changed (66) hide show
  1. package/dist/esm/lib/components/answer/answer.js +94 -89
  2. package/dist/esm/lib/components/answer/feedback-tooltip.js +89 -77
  3. package/dist/esm/lib/components/answer/messages.js +4 -0
  4. package/dist/esm/lib/components/answer/thumb-buttons.js +79 -73
  5. package/dist/esm/lib/components/chat/chat.js +99 -96
  6. package/dist/i18n/bn-IN.js +1 -0
  7. package/dist/i18n/bn-IN.properties +2 -0
  8. package/dist/i18n/da-DK.js +1 -0
  9. package/dist/i18n/da-DK.properties +2 -0
  10. package/dist/i18n/de-DE.js +1 -0
  11. package/dist/i18n/de-DE.properties +2 -0
  12. package/dist/i18n/en-AU.js +1 -0
  13. package/dist/i18n/en-AU.properties +2 -0
  14. package/dist/i18n/en-CA.js +1 -0
  15. package/dist/i18n/en-CA.properties +2 -0
  16. package/dist/i18n/en-GB.js +1 -0
  17. package/dist/i18n/en-GB.properties +2 -0
  18. package/dist/i18n/en-US.js +1 -0
  19. package/dist/i18n/en-US.properties +2 -0
  20. package/dist/i18n/en-x-pseudo.js +80 -79
  21. package/dist/i18n/en-x-pseudo.properties +80 -78
  22. package/dist/i18n/es-419.js +1 -0
  23. package/dist/i18n/es-419.properties +2 -0
  24. package/dist/i18n/es-ES.js +1 -0
  25. package/dist/i18n/es-ES.properties +2 -0
  26. package/dist/i18n/fi-FI.js +1 -0
  27. package/dist/i18n/fi-FI.properties +2 -0
  28. package/dist/i18n/fr-CA.js +1 -0
  29. package/dist/i18n/fr-CA.properties +2 -0
  30. package/dist/i18n/fr-FR.js +1 -0
  31. package/dist/i18n/fr-FR.properties +2 -0
  32. package/dist/i18n/hi-IN.js +1 -0
  33. package/dist/i18n/hi-IN.properties +2 -0
  34. package/dist/i18n/it-IT.js +1 -0
  35. package/dist/i18n/it-IT.properties +2 -0
  36. package/dist/i18n/ja-JP.js +1 -0
  37. package/dist/i18n/ja-JP.properties +2 -0
  38. package/dist/i18n/json/src/lib/components/answer/messages.json +1 -1
  39. package/dist/i18n/ko-KR.js +1 -0
  40. package/dist/i18n/ko-KR.properties +2 -0
  41. package/dist/i18n/nb-NO.js +1 -0
  42. package/dist/i18n/nb-NO.properties +2 -0
  43. package/dist/i18n/nl-NL.js +1 -0
  44. package/dist/i18n/nl-NL.properties +2 -0
  45. package/dist/i18n/pl-PL.js +1 -0
  46. package/dist/i18n/pl-PL.properties +2 -0
  47. package/dist/i18n/pt-BR.js +1 -0
  48. package/dist/i18n/pt-BR.properties +2 -0
  49. package/dist/i18n/ru-RU.js +1 -0
  50. package/dist/i18n/ru-RU.properties +2 -0
  51. package/dist/i18n/sv-SE.js +1 -0
  52. package/dist/i18n/sv-SE.properties +2 -0
  53. package/dist/i18n/tr-TR.js +1 -0
  54. package/dist/i18n/tr-TR.properties +2 -0
  55. package/dist/i18n/zh-CN.js +1 -0
  56. package/dist/i18n/zh-CN.properties +2 -0
  57. package/dist/i18n/zh-TW.js +1 -0
  58. package/dist/i18n/zh-TW.properties +2 -0
  59. package/dist/styles/feedback-tooltip.css +1 -1
  60. package/dist/types/lib/components/answer/answer.d.ts +4 -0
  61. package/dist/types/lib/components/answer/feedback-tooltip.d.ts +2 -1
  62. package/dist/types/lib/components/answer/messages.d.ts +5 -0
  63. package/dist/types/lib/components/answer/thumb-buttons.d.ts +4 -1
  64. package/dist/types/lib/components/chat/chat.d.ts +1 -1
  65. package/dist/types/lib/types.d.ts +6 -0
  66. package/package.json +3 -3
@@ -1,107 +1,113 @@
1
- import { useNotification as A, Tooltip as L, IconButton as p } from "@box/blueprint-web";
2
- import { ThumbUp as E, ThumbDown as I } from "@box/blueprint-web-assets/icons/Fill";
3
- import { ThumbUp as S, ThumbDown as W } from "@box/blueprint-web-assets/icons/Line";
4
- import { useAgents as $ } from "@box/box-ai-agent-selector";
1
+ import { useNotification as W, Tooltip as w, IconButton as y } from "@box/blueprint-web";
2
+ import { ThumbUp as $, ThumbDown as j } from "@box/blueprint-web-assets/icons/Fill";
3
+ import { ThumbUp as z, ThumbDown as J } from "@box/blueprint-web-assets/icons/Line";
4
+ import { useAgents as K } from "@box/box-ai-agent-selector";
5
5
  import b from "react";
6
- import { useIntl as j } from "react-intl";
7
- import { LOGGER_BASE_CONFIG as z, LOGGER_ACTION_PROGRAMMATIC as J } from "../common/constants.js";
8
- import { FeedbackTooltip as K } from "./feedback-tooltip.js";
9
- import N from "../../messages.js";
10
- import { focusInput as Q } from "../common/focusInputUtils.js";
11
- import r from "./messages.js";
12
- import { jsxs as V, Fragment as X, jsx as f } from "react/jsx-runtime";
13
- import '../../../../styles/thumb-buttons.css';const Y = "_thumbDown_1axcd_1", Z = {
14
- thumbDown: Y
6
+ import { useIntl as Q } from "react-intl";
7
+ import { LOGGER_BASE_CONFIG as V, LOGGER_ACTION_PROGRAMMATIC as X } from "../common/constants.js";
8
+ import { FeedbackTooltip as Y } from "./feedback-tooltip.js";
9
+ import x from "../../messages.js";
10
+ import { focusInput as Z } from "../common/focusInputUtils.js";
11
+ import f from "./messages.js";
12
+ import { jsxs as g, Fragment as O, jsx as i } from "react/jsx-runtime";
13
+ import '../../../../styles/thumb-buttons.css';const C = "_thumbDown_1axcd_1", q = {
14
+ thumbDown: C
15
15
  }, u = {
16
16
  THUMB_UP: "positive",
17
17
  THUMB_DOWN: "negative",
18
18
  NONE: "none"
19
- }, rt = ({
20
- feedbackValue: w,
19
+ }, et = ({
20
+ feedbackValue: H,
21
21
  hostAppName: n,
22
- isFeedbackFormEnabled: y = !1,
23
- isFeedbackTooltipOpen: x = !1,
24
- items: U,
25
- onFeedbackFormSubmit: h,
22
+ isFeedbackFormEnabled: P = !1,
23
+ isFeedbackTooltipOpen: G = !1,
24
+ items: _,
25
+ onFeedbackFormSubmit: U,
26
26
  onFeedbackTooltipOpenChange: s,
27
- promptType: D,
27
+ prompt: D,
28
+ promptType: B,
28
29
  questionId: a,
29
- recordAction: i,
30
- setAnswerFeedback: o,
31
- shouldFeedbackFormIncludeFeedbackText: B = !1,
32
- variant: T
30
+ recordAction: o,
31
+ response: T,
32
+ setAnswerFeedback: e,
33
+ shouldFeedbackFormIncludeFeedbackText: p = !1,
34
+ shouldFeedbackIncludePromptData: M = !1,
35
+ variant: L
33
36
  }) => {
34
37
  const {
35
38
  formatMessage: m
36
- } = j(), {
37
- addNotification: H
38
- } = A(), {
39
- selectedAgent: M
40
- } = $(), l = w, _ = b.useMemo(() => U.filter((t) => t.status === "supported").map((t) => t.fileType), [U]), e = b.useCallback((t) => {
41
- l !== t && (o == null || o(a, t), i == null || i({
42
- ...z,
43
- action: J,
39
+ } = Q(), {
40
+ addNotification: R
41
+ } = W(), {
42
+ selectedAgent: N
43
+ } = K(), r = H, h = b.useMemo(() => _.filter((t) => t.status === "supported").map((t) => t.fileType), [_]), c = b.useCallback((t) => {
44
+ r !== t && (e == null || e(a, t), o == null || o({
45
+ ...V,
46
+ action: X,
44
47
  target: "answer_feedback",
45
- component: T,
48
+ component: L,
46
49
  data: {
47
50
  feedback_value: t,
48
- file_types: _,
51
+ file_types: h,
49
52
  feature: n,
50
- prompt_type: D
53
+ prompt_type: B
51
54
  }
52
- }), Q());
53
- }, [n, i, l, T, _, a, o, D]), G = ({
55
+ }), Z());
56
+ }, [n, o, r, L, h, a, e, B]), S = ({
54
57
  feedback: t,
55
- issueType: v
58
+ feedbackPromptShareConsent: E,
59
+ issueType: I
56
60
  }) => {
57
- if (s == null || s(!1, a), !h)
61
+ if (s == null || s(!1, a), !U)
58
62
  return;
59
- const c = {
60
- fileTypes: _,
63
+ const l = {
64
+ fileTypes: h,
65
+ hasPromptData: !1,
61
66
  hostApp: n,
62
- issueType: v,
67
+ issueType: I,
63
68
  timestamp: Date.now(),
64
69
  questionId: a
65
70
  };
66
- B && (c.feedback = t, c.hasFeedback = !!t), M && (c.selectedAgentName = M.name), h(c, () => {
67
- H({
71
+ p && (l.feedback = t, l.hasFeedback = !!t), M && E && D && T && (l.hasPromptData = !0, l.prompt = D, l.response = T), N && (l.selectedAgentName = N.name), U(l, () => {
72
+ R({
68
73
  sensitivity: "foreground",
69
- styledText: m(r.feedbackTooltipConfirmation),
74
+ styledText: m(f.feedbackTooltipConfirmation),
70
75
  variant: "success",
71
- typeIconAriaLabel: m(N.ariaTypeSuccessIconLabel),
72
- closeButtonAriaLabel: m(N.closeButtonText)
76
+ typeIconAriaLabel: m(x.ariaTypeSuccessIconLabel),
77
+ closeButtonAriaLabel: m(x.closeButtonText)
73
78
  });
74
79
  });
75
80
  }, d = (t) => {
76
81
  t || s == null || s(!1, a);
77
- }, P = b.useCallback(() => e(u.THUMB_UP), [e]), R = b.useCallback(() => {
78
- e(u.THUMB_DOWN), s == null || s(!0, a);
79
- }, [e, s, a]);
80
- return /* @__PURE__ */ V(X, {
81
- children: [/* @__PURE__ */ f(L, {
82
- content: m(r.thumbsUpAriaLabel),
83
- children: /* @__PURE__ */ f(p, {
84
- "aria-label": m(r.thumbsUpAriaLabel),
85
- disabled: l === u.THUMB_DOWN,
86
- icon: l === u.THUMB_UP ? E : S,
87
- onClick: P,
82
+ }, v = b.useCallback(() => c(u.THUMB_UP), [c]), A = b.useCallback(() => {
83
+ c(u.THUMB_DOWN), s == null || s(!0, a);
84
+ }, [c, s, a]);
85
+ return /* @__PURE__ */ g(O, {
86
+ children: [/* @__PURE__ */ i(w, {
87
+ content: m(f.thumbsUpAriaLabel),
88
+ children: /* @__PURE__ */ i(y, {
89
+ "aria-label": m(f.thumbsUpAriaLabel),
90
+ disabled: r === u.THUMB_DOWN,
91
+ icon: r === u.THUMB_UP ? $ : z,
92
+ onClick: v,
88
93
  size: "x-small",
89
94
  "data-target-id": "IconButton-thumbsUpAriaLabel"
90
95
  })
91
- }), /* @__PURE__ */ f(K, {
92
- isOpen: x,
96
+ }), /* @__PURE__ */ i(Y, {
97
+ isOpen: G,
93
98
  onOpenChange: d,
94
- onSubmit: G,
95
- shouldIncludeFeedbackText: B,
96
- shouldShow: y,
97
- children: /* @__PURE__ */ f(L, {
98
- content: m(r.thumbsDownAriaLabel),
99
- children: /* @__PURE__ */ f(p, {
100
- "aria-label": m(r.thumbsDownAriaLabel),
101
- className: Z.thumbDown,
102
- disabled: l === u.THUMB_UP,
103
- icon: l === u.THUMB_DOWN ? I : W,
104
- onClick: R,
99
+ onSubmit: S,
100
+ shouldIncludeFeedbackText: p,
101
+ shouldIncludePromptShareConsent: M,
102
+ shouldShow: P,
103
+ children: /* @__PURE__ */ i(w, {
104
+ content: m(f.thumbsDownAriaLabel),
105
+ children: /* @__PURE__ */ i(y, {
106
+ "aria-label": m(f.thumbsDownAriaLabel),
107
+ className: q.thumbDown,
108
+ disabled: r === u.THUMB_UP,
109
+ icon: r === u.THUMB_DOWN ? j : J,
110
+ onClick: A,
105
111
  size: "x-small",
106
112
  "data-target-id": "IconButton-thumbsDownAriaLabel"
107
113
  })
@@ -110,6 +116,6 @@ import '../../../../styles/thumb-buttons.css';const Y = "_thumbDown_1axcd_1", Z
110
116
  });
111
117
  };
112
118
  export {
113
- rt as ThumbButtons,
114
- rt as default
119
+ et as ThumbButtons,
120
+ et as default
115
121
  };
@@ -1,139 +1,142 @@
1
- import { Text as U } from "@box/blueprint-web";
2
- import { BoxAiLogo as V } from "@box/blueprint-web-assets/icons/Logo";
3
- import { Size10 as d } from "@box/blueprint-web-assets/tokens/tokens";
4
- import X from "clsx";
5
- import * as Y from "react";
6
- import { useIntl as Z } from "react-intl";
7
- import { Answer as $ } from "../answer/answer.js";
8
- import { MediaContainer as L } from "../common/media-container.js";
9
- import { Question as P } from "../question/question.js";
10
- import { SuggestedQuestions as S } from "../suggested-questions/suggested-questions.js";
11
- import ee from "../welcome-message/messages.js";
12
- import { WelcomeMessage as te } from "../welcome-message/welcome-message.js";
13
- import { jsx as e, jsxs as _ } from "react/jsx-runtime";
14
- import '../../../../styles/chat.css';const oe = "_chat_77vqr_1", ae = "_clearChatText_77vqr_1", re = "_landingPage_77vqr_7", se = "_askQuestionText_77vqr_15", ie = "_iconAvatar_77vqr_23", ne = "_sidebar_77vqr_39", a = {
15
- chat: oe,
16
- clearChatText: ae,
17
- landingPage: re,
18
- askQuestionText: se,
19
- iconAvatar: ie,
20
- sidebar: ne
21
- }, Ce = ({
22
- askSuggestedQuestion: f,
1
+ import { Text as V } from "@box/blueprint-web";
2
+ import { BoxAiLogo as X } from "@box/blueprint-web-assets/icons/Logo";
3
+ import { Size10 as _ } from "@box/blueprint-web-assets/tokens/tokens";
4
+ import Y from "clsx";
5
+ import * as Z from "react";
6
+ import { useIntl as $ } from "react-intl";
7
+ import { Answer as L } from "../answer/answer.js";
8
+ import { MediaContainer as P } from "../common/media-container.js";
9
+ import { Question as S } from "../question/question.js";
10
+ import { SuggestedQuestions as ee } from "../suggested-questions/suggested-questions.js";
11
+ import te from "../welcome-message/messages.js";
12
+ import { WelcomeMessage as oe } from "../welcome-message/welcome-message.js";
13
+ import { jsx as e, jsxs as f } from "react/jsx-runtime";
14
+ import '../../../../styles/chat.css';const ae = "_chat_77vqr_1", re = "_clearChatText_77vqr_1", se = "_landingPage_77vqr_7", ie = "_askQuestionText_77vqr_15", ne = "_iconAvatar_77vqr_23", ce = "_sidebar_77vqr_39", a = {
15
+ chat: ae,
16
+ clearChatText: re,
17
+ landingPage: se,
18
+ askQuestionText: ie,
19
+ iconAvatar: ne,
20
+ sidebar: ce
21
+ }, ge = ({
22
+ askSuggestedQuestion: h,
23
23
  contentType: n,
24
- hasCustomSuggestedQuestions: h,
25
- hasRequestInProgress: x,
26
- isCitationsEnabled: T,
27
- isFeedbackEnabled: b,
28
- isFeedbackFormEnabled: v,
29
- isInlineCitationsEnabled: C = !1,
30
- isMarkdownEnabled: g,
31
- isSessionLoading: k = !1,
32
- onCitationClick: q,
33
- onAnswerCopy: u,
34
- onFeedbackFormSubmit: A,
35
- onSuggestedQuestionInteraction: F,
36
- questions: I,
24
+ hasCustomSuggestedQuestions: x,
25
+ hasRequestInProgress: T,
26
+ isCitationsEnabled: b,
27
+ isFeedbackEnabled: v,
28
+ isFeedbackFormEnabled: C,
29
+ isInlineCitationsEnabled: g = !1,
30
+ isMarkdownEnabled: k,
31
+ isSessionLoading: q = !1,
32
+ onCitationClick: u,
33
+ onAnswerCopy: A,
34
+ onFeedbackFormSubmit: F,
35
+ onSuggestedQuestionInteraction: I,
36
+ questions: N,
37
37
  recordAction: c,
38
- setAnswerFeedback: N,
38
+ setAnswerFeedback: O,
39
39
  setAskSuggestedQuestion: l,
40
40
  suggestedQuestions: m,
41
- suggestedQuestionsRequestState: O,
42
- shouldFeedbackFormIncludeFeedbackText: Q,
41
+ suggestedQuestionsRequestState: Q,
42
+ shouldFeedbackFormIncludeFeedbackText: j,
43
+ shouldFeedbackIncludePromptData: y,
43
44
  shouldShowLandingPage: o,
44
- useAnimation: j,
45
+ useAnimation: M,
45
46
  variant: t = "modal",
46
- hostAppName: y = "",
47
- isReactMarkdownEnabled: M,
48
- welcomeMessageClearText: w,
49
- ...p
47
+ hostAppName: w = "",
48
+ isReactMarkdownEnabled: z,
49
+ welcomeMessageClearText: B,
50
+ ...d
50
51
  }) => {
51
52
  const {
52
- formatMessage: z
53
- } = Z(), [B, R] = Y.useState(null), W = (r, s) => {
54
- R(r ? s : null);
53
+ formatMessage: R
54
+ } = $(), [W, D] = Z.useState(null), E = (r, s) => {
55
+ D(r ? s : null);
55
56
  };
56
57
  return /* @__PURE__ */ e("div", {
57
58
  className: a.chat,
58
59
  "data-testid": "content-answers-chat",
59
- children: /* @__PURE__ */ _("div", {
60
- className: X({
60
+ children: /* @__PURE__ */ f("div", {
61
+ className: Y({
61
62
  [a.landingPage]: o,
62
63
  [a.sidebar]: t === "sidebar"
63
64
  }),
64
- children: [o && /* @__PURE__ */ e(L.Figure, {
65
+ children: [o && /* @__PURE__ */ e(P.Figure, {
65
66
  variant: t,
66
67
  children: /* @__PURE__ */ e("div", {
67
68
  className: a.iconAvatar,
68
- children: /* @__PURE__ */ e(V, {
69
- height: d,
69
+ children: /* @__PURE__ */ e(X, {
70
+ height: _,
70
71
  role: "presentation",
71
- width: d
72
+ width: _
72
73
  })
73
74
  })
74
- }), /* @__PURE__ */ e(te, {
75
+ }), /* @__PURE__ */ e(oe, {
75
76
  contentType: "",
76
77
  shouldShowLandingPage: o,
77
- ...p,
78
+ ...d,
78
79
  variant: t
79
- }), o && m !== void 0 && l !== void 0 && /* @__PURE__ */ e(S, {
80
- askSuggestedQuestion: f,
81
- hasCustomSuggestedQuestions: h,
82
- isLoading: x,
83
- onSuggestedQuestionInteraction: F,
80
+ }), o && m !== void 0 && l !== void 0 && /* @__PURE__ */ e(ee, {
81
+ askSuggestedQuestion: h,
82
+ hasCustomSuggestedQuestions: x,
83
+ isLoading: T,
84
+ onSuggestedQuestionInteraction: I,
84
85
  recordAction: c,
85
86
  setAskSuggestedQuestion: l,
86
87
  suggestedQuestions: m,
87
- suggestedQuestionsRequestState: O,
88
+ suggestedQuestionsRequestState: Q,
88
89
  variant: t
89
- }), /* @__PURE__ */ e(U, {
90
+ }), /* @__PURE__ */ e(V, {
90
91
  as: "p",
91
92
  className: a.clearChatText,
92
- children: w || z(ee.welcomeClearChatText, {
93
+ children: B || R(te.welcomeClearChatText, {
93
94
  type: n
94
95
  })
95
96
  }), !o && /* @__PURE__ */ e("ul", {
96
- children: I.map(({
97
+ children: N.map(({
97
98
  answer: r,
98
99
  citations: s,
99
100
  id: i,
100
- isCompleted: D,
101
- isLoading: E,
102
- error: G,
103
- prompt: H,
104
- promptType: J,
105
- feedbackValue: K
106
- }) => /* @__PURE__ */ _("li", {
107
- children: [/* @__PURE__ */ e(P, {
108
- prompt: H,
101
+ isCompleted: G,
102
+ isLoading: H,
103
+ error: J,
104
+ prompt: p,
105
+ promptType: K,
106
+ feedbackValue: U
107
+ }) => /* @__PURE__ */ f("li", {
108
+ children: [/* @__PURE__ */ e(S, {
109
+ prompt: p,
109
110
  variant: t
110
- }), /* @__PURE__ */ e($, {
111
+ }), /* @__PURE__ */ e(L, {
111
112
  answer: r,
112
113
  citations: s,
113
114
  contentType: n,
114
- error: G,
115
- feedbackValue: K,
116
- hostAppName: y,
117
- isCitationsEnabled: T,
118
- isCompleted: D,
119
- isFeedbackEnabled: b,
120
- isFeedbackFormEnabled: v,
121
- isFeedbackTooltipOpen: B === i,
122
- isInlineCitationsEnabled: C,
123
- isLoading: E || k,
124
- isMarkdownEnabled: g,
125
- isReactMarkdownEnabled: M,
126
- items: p.items,
127
- onAnswerCopy: u,
128
- onCitationClick: q,
129
- onFeedbackFormSubmit: A,
130
- onFeedbackTooltipOpenChange: W,
131
- promptType: J,
115
+ error: J,
116
+ feedbackValue: U,
117
+ hostAppName: w,
118
+ isCitationsEnabled: b,
119
+ isCompleted: G,
120
+ isFeedbackEnabled: v,
121
+ isFeedbackFormEnabled: C,
122
+ isFeedbackTooltipOpen: W === i,
123
+ isInlineCitationsEnabled: g,
124
+ isLoading: H || q,
125
+ isMarkdownEnabled: k,
126
+ isReactMarkdownEnabled: z,
127
+ items: d.items,
128
+ onAnswerCopy: A,
129
+ onCitationClick: u,
130
+ onFeedbackFormSubmit: F,
131
+ onFeedbackTooltipOpenChange: E,
132
+ prompt: p,
133
+ promptType: K,
132
134
  questionId: i,
133
135
  recordAction: c,
134
- setAnswerFeedback: N,
135
- shouldFeedbackFormIncludeFeedbackText: Q,
136
- useAnimation: j,
136
+ setAnswerFeedback: O,
137
+ shouldFeedbackFormIncludeFeedbackText: j,
138
+ shouldFeedbackIncludePromptData: y,
139
+ useAnimation: M,
137
140
  variant: t
138
141
  })]
139
142
  }, i))
@@ -142,6 +145,6 @@ import '../../../../styles/chat.css';const oe = "_chat_77vqr_1", ae = "_clearCha
142
145
  });
143
146
  };
144
147
  export {
145
- Ce as Chat,
146
- Ce as default
148
+ ge as Chat,
149
+ ge as default
147
150
  };
@@ -29,6 +29,7 @@ export default {
29
29
  "boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer2": "আমার অনুরোধ অনুসরণ করা হয়নি",
30
30
  "boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer3": "অন্যান্য",
31
31
  "boxAI.contentAnswers.feedbackTooltipIssueTypeLabel": "আপনি কোন ধরণের সমস্যা প্রতিবেদন করতে চান?",
32
+ "boxAI.contentAnswers.feedbackTooltipPromptShareConsent": "Share my prompt and response to help improve product quality.",
32
33
  "boxAI.contentAnswers.feedbackTooltipSubmit": "জমা দিন",
33
34
  "boxAI.contentAnswers.feedbackTooltipTitle": "আপনার প্রতিক্রিয়া শেয়ার করুন",
34
35
  "boxAI.contentAnswers.fileLandingText": "{numberOfItems,plural,=1{{firstItemName}} other{{files}}}{parentItem,select,other{ এতে {parentItem}}}",
@@ -68,6 +68,8 @@ boxAI.contentAnswers.fileLandingText = {numberOfItems,plural,=1{{firstItemName}}
68
68
  boxAI.contentAnswers.hasQuestionsTooltip = Box AI-এ ফিরে যান
69
69
  # Content Answers error message when the answer fails due to an invalid agent
70
70
  boxAI.contentAnswers.inlineAgentNotFoundErrorText = বেছে নেওয়া এজেন্ট অনুপলভ্য। ডিফল্ট এজেন্টে স্যুইচ করা হচ্ছে।
71
+ # Aria label for inline citation button to open file in new tab
72
+ boxAI.contentAnswers.inlineCitationAriaLabel = Open {fileName} in new tab
71
73
  # Content Answers error message when the service fails
72
74
  boxAI.contentAnswers.inlineErrorText = Box AI-এর এই মুহূর্তে প্রতিক্রিয়া তৈরি করতে সমস্যা হচ্ছে। অনুগ্রহ করে আবার চেষ্টা করুন।
73
75
  # Content Answers error message when the service returns 204 (no content)
@@ -29,6 +29,7 @@ export default {
29
29
  "boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer2": "Fulgte ikke min anmodning",
30
30
  "boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer3": "Andet/Andre",
31
31
  "boxAI.contentAnswers.feedbackTooltipIssueTypeLabel": "Hvilken type problem vil du rapportere?",
32
+ "boxAI.contentAnswers.feedbackTooltipPromptShareConsent": "Share my prompt and response to help improve product quality.",
32
33
  "boxAI.contentAnswers.feedbackTooltipSubmit": "Send",
33
34
  "boxAI.contentAnswers.feedbackTooltipTitle": "Del din feedback",
34
35
  "boxAI.contentAnswers.fileLandingText": "{numberOfItems,plural,=1{{firstItemName}} other{{files}}}{parentItem,select,other{ i {parentItem}}}",
@@ -68,6 +68,8 @@ boxAI.contentAnswers.fileLandingText = {numberOfItems,plural,=1{{firstItemName}}
68
68
  boxAI.contentAnswers.hasQuestionsTooltip = Gå tilbage til Box AI
69
69
  # Content Answers error message when the answer fails due to an invalid agent
70
70
  boxAI.contentAnswers.inlineAgentNotFoundErrorText = Den valgte agent er ikke tilgængelig. Skifter til standardagenten.
71
+ # Aria label for inline citation button to open file in new tab
72
+ boxAI.contentAnswers.inlineCitationAriaLabel = Open {fileName} in new tab
71
73
  # Content Answers error message when the service fails
72
74
  boxAI.contentAnswers.inlineErrorText = Box AI har problemer med at generere et svar lige nu. Prøv venligst igen.
73
75
  # Content Answers error message when the service returns 204 (no content)
@@ -29,6 +29,7 @@ export default {
29
29
  "boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer2": "Meiner Anfrage nicht gefolgt",
30
30
  "boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer3": "Sonstiges",
31
31
  "boxAI.contentAnswers.feedbackTooltipIssueTypeLabel": "Welche Art von Problem möchten Sie melden?",
32
+ "boxAI.contentAnswers.feedbackTooltipPromptShareConsent": "Share my prompt and response to help improve product quality.",
32
33
  "boxAI.contentAnswers.feedbackTooltipSubmit": "Senden",
33
34
  "boxAI.contentAnswers.feedbackTooltipTitle": "Teilen Sie Ihr Feedback mit.",
34
35
  "boxAI.contentAnswers.fileLandingText": "{numberOfItems,plural,=1{{firstItemName}} other{{files}}}{parentItem,select,undefined{} other{ in {parentItem}}}",
@@ -68,6 +68,8 @@ boxAI.contentAnswers.fileLandingText = {numberOfItems,plural,=1{{firstItemName}}
68
68
  boxAI.contentAnswers.hasQuestionsTooltip = Zurück zu Box-KI
69
69
  # Content Answers error message when the answer fails due to an invalid agent
70
70
  boxAI.contentAnswers.inlineAgentNotFoundErrorText = Der ausgewählte Agent ist nicht verfügbar. Es wird zum Standardagenten gewechselt.
71
+ # Aria label for inline citation button to open file in new tab
72
+ boxAI.contentAnswers.inlineCitationAriaLabel = Open {fileName} in new tab
71
73
  # Content Answers error message when the service fails
72
74
  boxAI.contentAnswers.inlineErrorText = Box AI hat gerade Probleme beim Generieren einer Antwort. Versuchen Sie es bitte noch einmal.
73
75
  # Content Answers error message when the service returns 204 (no content)
@@ -29,6 +29,7 @@ export default {
29
29
  "boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer2": "Did not follow my request",
30
30
  "boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer3": "Other",
31
31
  "boxAI.contentAnswers.feedbackTooltipIssueTypeLabel": "What type of issue to you wish to report?",
32
+ "boxAI.contentAnswers.feedbackTooltipPromptShareConsent": "Share my prompt and response to help improve product quality.",
32
33
  "boxAI.contentAnswers.feedbackTooltipSubmit": "Submit",
33
34
  "boxAI.contentAnswers.feedbackTooltipTitle": "Share your feedback",
34
35
  "boxAI.contentAnswers.fileLandingText": "{numberOfItems,plural,=1{{firstItemName}} one{{firstItemName}} other{these {files}}}{parentItem,select,undefined{} other{ in {parentItem}}}",
@@ -68,6 +68,8 @@ boxAI.contentAnswers.fileLandingText = {numberOfItems,plural,=1{{firstItemName}}
68
68
  boxAI.contentAnswers.hasQuestionsTooltip = Return to Box AI
69
69
  # Content Answers error message when the answer fails due to an invalid agent
70
70
  boxAI.contentAnswers.inlineAgentNotFoundErrorText = The selected agent is unavailable. Switching to the default agent.
71
+ # Aria label for inline citation button to open file in new tab
72
+ boxAI.contentAnswers.inlineCitationAriaLabel = Open {fileName} in new tab
71
73
  # Content Answers error message when the service fails
72
74
  boxAI.contentAnswers.inlineErrorText = Box AI is having trouble generating a response right now. Please try again.
73
75
  # Content Answers error message when the service returns 204 (no content)
@@ -29,6 +29,7 @@ export default {
29
29
  "boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer2": "Did not follow my request",
30
30
  "boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer3": "Other",
31
31
  "boxAI.contentAnswers.feedbackTooltipIssueTypeLabel": "What type of issue do you wish to report?",
32
+ "boxAI.contentAnswers.feedbackTooltipPromptShareConsent": "Share my prompt and response to help improve product quality.",
32
33
  "boxAI.contentAnswers.feedbackTooltipSubmit": "Submit",
33
34
  "boxAI.contentAnswers.feedbackTooltipTitle": "Share your feedback",
34
35
  "boxAI.contentAnswers.fileLandingText": "{numberOfItems, plural, =1 {{firstItemName}} other {{files}}}{parentItem, select, undefined {} other { in {parentItem}}}",
@@ -68,6 +68,8 @@ boxAI.contentAnswers.fileLandingText = {numberOfItems, plural, =1 {{firstItemNam
68
68
  boxAI.contentAnswers.hasQuestionsTooltip = Return to Box AI
69
69
  # Content Answers error message when the answer fails due to an invalid agent
70
70
  boxAI.contentAnswers.inlineAgentNotFoundErrorText = The selected agent is unavailable. Switching to the default agent.
71
+ # Aria label for inline citation button to open file in new tab
72
+ boxAI.contentAnswers.inlineCitationAriaLabel = Open {fileName} in new tab
71
73
  # Content Answers error message when the service fails
72
74
  boxAI.contentAnswers.inlineErrorText = Box AI is having trouble generating a response right now. Please try again.
73
75
  # Content Answers error message when the service returns 204 (no content)
@@ -29,6 +29,7 @@ export default {
29
29
  "boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer2": "Did not follow my request",
30
30
  "boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer3": "Other",
31
31
  "boxAI.contentAnswers.feedbackTooltipIssueTypeLabel": "What type of issue to you wish to report?",
32
+ "boxAI.contentAnswers.feedbackTooltipPromptShareConsent": "Share my prompt and response to help improve product quality.",
32
33
  "boxAI.contentAnswers.feedbackTooltipSubmit": "Submit",
33
34
  "boxAI.contentAnswers.feedbackTooltipTitle": "Share your feedback",
34
35
  "boxAI.contentAnswers.fileLandingText": "{numberOfItems,plural,=1{{firstItemName}} one{{firstItemName}} other{these {files}}}{parentItem,select,undefined{} other{ in {parentItem}}}",
@@ -68,6 +68,8 @@ boxAI.contentAnswers.fileLandingText = {numberOfItems,plural,=1{{firstItemName}}
68
68
  boxAI.contentAnswers.hasQuestionsTooltip = Return to Box AI
69
69
  # Content Answers error message when the answer fails due to an invalid agent
70
70
  boxAI.contentAnswers.inlineAgentNotFoundErrorText = The selected agent is unavailable. Switching to the default agent.
71
+ # Aria label for inline citation button to open file in new tab
72
+ boxAI.contentAnswers.inlineCitationAriaLabel = Open {fileName} in new tab
71
73
  # Content Answers error message when the service fails
72
74
  boxAI.contentAnswers.inlineErrorText = Box AI is having trouble generating a response right now. Please try again.
73
75
  # Content Answers error message when the service returns 204 (no content)
@@ -29,6 +29,7 @@ export default {
29
29
  "boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer2": "Did not follow my request",
30
30
  "boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer3": "Other",
31
31
  "boxAI.contentAnswers.feedbackTooltipIssueTypeLabel": "What type of issue do you wish to report?",
32
+ "boxAI.contentAnswers.feedbackTooltipPromptShareConsent": "Share my prompt and response to help improve product quality.",
32
33
  "boxAI.contentAnswers.feedbackTooltipSubmit": "Submit",
33
34
  "boxAI.contentAnswers.feedbackTooltipTitle": "Share your feedback",
34
35
  "boxAI.contentAnswers.fileLandingText": "{numberOfItems, plural, =1 {{firstItemName}} other {{files}}}{parentItem, select, undefined {} other { in {parentItem}}}",
@@ -58,6 +58,8 @@ boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer2 = Did not follow my request
58
58
  boxAI.contentAnswers.feedbackTooltipIssueTypeAnswer3 = Other
59
59
  # Label for the feedback type radio group in the feedback tooltip
60
60
  boxAI.contentAnswers.feedbackTooltipIssueTypeLabel = What type of issue do you wish to report?
61
+ # Label for checkbox to consent for prompt and answer sharing in the tooltip that asks the user to share feedback on the answer
62
+ boxAI.contentAnswers.feedbackTooltipPromptShareConsent = Share my prompt and response to help improve product quality.
61
63
  # Submit button text for the feedback tooltip
62
64
  boxAI.contentAnswers.feedbackTooltipSubmit = Submit
63
65
  # Title of a tooltip that asks the user to share feedback on the answer